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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with making a Monster spawn upon note pick up.
RedSampson00 Offline
Junior Member

Posts: 11
Threads: 4
Joined: Nov 2012
Reputation: 0
#3
RE: Help with making a Monster spawn upon note pick up.

(08-03-2013, 10:43 PM)Smoke Wrote: It's not really that hard, all the commands can be found here

But here's the script:
void OnStart()
{
SetEntityPlayerInteractCallback("nameofyournote", "function1", true);
}

void function1(string &in asEntity)
{
SetEntityActive("nameofyourgrunt", true);
}

Just place the grunt and make him inactive, adjust the names in the script and you should be fine.

Thanks for this, I'm kinda new to this so I won't be able to do even the basic scripting stuff XD
08-03-2013, 10:49 PM
Find


Messages In This Thread
RE: Help with making a Monster spawn upon note pick up. - by RedSampson00 - 08-03-2013, 10:49 PM



Users browsing this thread: 1 Guest(s)