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
Activating a monster
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#4
RE: Activating a monster

PHP Code: (Select All)
void OnStart()
{
SetEntityCallbackFunc("NoteName""SetBrute");
}

void SetBrute(string &in asEntitystring &in type)
{
SetEntityActive("servant_brute_1"true);
}

//NoteName is the name of the note.
//SetBrute is the name of the callback function.
//(string &in asEntity, string &in type) is the callback syntax. Your syntax is incorrect. 

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 01-12-2014, 03:07 AM by PutraenusAlivius.)
01-12-2014, 03:05 AM
Find


Messages In This Thread
Activating a monster - by VillainousPotato - 01-11-2014, 07:27 PM
RE: Activating a monster - by daortir - 01-11-2014, 07:28 PM
RE: Activating a monster - by VillainousPotato - 01-12-2014, 03:01 AM
RE: Activating a monster - by PutraenusAlivius - 01-12-2014, 03:29 PM
RE: Activating a monster - by PutraenusAlivius - 01-12-2014, 03:05 AM
RE: Activating a monster - by daortir - 01-12-2014, 09:48 AM



Users browsing this thread: 1 Guest(s)