- Home /
Need a "ghost" script !
I need a script for my game that make an object appear when the player is near , then run on the player with a noise and disappear. So i need a script that make the object run on the player and when it collide with the player it should "destroy" with a sound (audioclip).
start by maybe googling or searching on Answers about instantiate, and possibly animations. and theres plenty of sound related questions telling how to play audio. also you can make simple movements by adding rigidbody and learning about AddForce/AddRelativeForce or Translate/Rotate the object. Nobody wants to script for you though. You would be more likely to get help if you start a script and attempt to make it work yourself. Then if the script doesnt work, ask why.
Answer by Piflik · Aug 25, 2012 at 10:03 PM
Then write one...
This is not the place to make demands for complete scripts. When you don't want to script yourself, hire a programmer.
If you have spefic problems with certain parts of code, we will gladly assist you, but we will not write a complete AI for you.
Your answer
![](https://koobas.hobune.stream/wayback/20220613080200im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
scripting Animations 1 Answer
Rotation accuracy in build 1 Answer
Network view not attached 0 Answers
Ghost Trail - Creating Sequence of Images that move on players position 0 Answers
Using multiple buttons in script 3 Answers