Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting help
Author Message
P44RTHURN4X Offline
Junior Member

Posts: 35
Joined: Apr 2012
Reputation: 0
Post: #3
RE: Scripting help
I found it out much easier!:

SetEnemyDisableTriggers("enemy2_1", true);
Put this into your .hps file like this:
void OnStart()
{
SetEntityActive("enemy2_1", true);
SetEnemyDisableTriggers("enemy2_1", true);
AddEnemyPatrolNode("enemy2_1", "PathNodeArea_1", 0, "idle.anm");
}

But thanks for your help bud.
05-03-2012 03:27 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Scripting help - P44RTHURN4X - 05-01-2012, 04:33 PM
RE: Scripting help - TeamSD - 05-01-2012, 06:50 PM
RE: Scripting help - P44RTHURN4X - 05-03-2012 03:27 PM
RE: Scripting help - FragdaddyXXL - 05-03-2012, 03:38 PM
RE: Scripting help - Elven - 05-04-2012, 12:09 AM



User(s) browsing this thread: 1 Guest(s)