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


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monster Appear on Pickup
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Monster Appear on Pickup

Name of example key: "Key01"
Name of example monster: "MonsterName"

Remember that there can only be one of the same function, so if you already have a void OnStart() function, put the SetEntityPlayerInteractCallback into the one you had at first. Wink

void OnStart()
{
     SetEntityPlayerInteractCallback("Key01", "Func01", true);
}
void Func01(string &in asEntity)
{
     SetEntityActive("MonsterName", true);
}

(This post was last modified: 07-28-2011, 03:53 AM by Kyle.)
07-28-2011, 03:50 AM
Find


Messages In This Thread
Monster Appear on Pickup - by Angerpull - 07-28-2011, 02:04 AM
RE: Monster Appear on Pickup - by Kyle - 07-28-2011, 03:50 AM



Users browsing this thread: 1 Guest(s)