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
Prevent monsters from expiring
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#5
RE: Prevent monsters from expiring

a decent solution is to click on your monster, then look at the callbacks. Then use the first callback (i think its just called callback) then add a function in your hps

void Callback(string &in asEntity , string &in asType)
{
if(asType=="AutoDisable"){
SetEntityActive("Monster" , true);
}
}

The description tells you what 'asType' can be, but i cant remember it's exact name.

This will just spawn the monster if it's disabled. Maybe go into the model editor and remove the enabled sound if it plays too often

(This post was last modified: 08-01-2011, 07:14 PM by DRedshot.)
08-01-2011, 07:13 PM
Find


Messages In This Thread
Prevent monsters from expiring - by Your Computer - 08-01-2011, 08:15 AM
RE: Prevent monsters from expiring - by palistov - 08-01-2011, 05:48 PM
RE: Prevent monsters from expiring - by DRedshot - 08-01-2011, 07:13 PM



Users browsing this thread: 1 Guest(s)