Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HELP please
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#3
RE: HELP please

Add a callback to the note by going on the entity tab in the level editor, then writing a name in the CallbackFunc section.

In your script, whatever you want to happen you just put inside that callback.

PHP Code: (Select All)
void FunctionName(string &in asEntityint Type)
{
    
ScriptHere();


For example music, usually you can add that just to the note itself. If you want the player to turn, you can put it in here though. Use the script called StartPlayerLookAt.

07-09-2014, 05:33 PM
Find


Messages In This Thread
HELP please - by G510s - 07-09-2014, 09:11 AM
RE: HELP please - by Daemian - 07-09-2014, 05:24 PM
RE: HELP please - by Mudbill - 07-09-2014, 05:33 PM



Users browsing this thread: 1 Guest(s)