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.
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#2
RE: Help with making a Monster spawn upon note pick up.

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.
08-03-2013, 10:43 PM
Find


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



Users browsing this thread: 1 Guest(s)