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
Set Zombie walking to waypoints
house Offline
Member

Posts: 195
Threads: 11
Joined: Oct 2010
Reputation: 1
#11
RE: Set Zombie walking to waypoints

void OnStart()
{
AddUseItemCallback("", "Klic", "mansion_1", "KeyOnDoor", true);
AddUseItemCallback("", "Klic2", "mansion_4", "KeyOnDoor", true);
}

void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_1", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "mansion_1", 0.0f, true);
AddEnemyPatrolNode("Brute_1", "Point_1", 0.0f, "");
}

void OnEnter()
{

}

void OnLeave()
{

}

I found all the wrong things I could find. Copy whats in the code I just did into your .hps file. It should work.
10-29-2010, 11:11 PM
Find


Messages In This Thread
Set Zombie walking to waypoints - by exit361 - 10-28-2010, 07:58 PM
RE: Set Zombie walking to waypoints - by exit361 - 10-29-2010, 03:10 PM
RE: Set Zombie walking to waypoints - by SLi78 - 10-29-2010, 07:55 PM
RE: Set Zombie walking to waypoints - by ThePaSch - 10-29-2010, 08:05 PM
RE: Set Zombie walking to waypoints - by house - 10-29-2010, 08:40 PM
RE: Set Zombie walking to waypoints - by exit361 - 10-29-2010, 09:37 PM
RE: Set Zombie walking to waypoints - by house - 10-29-2010, 10:06 PM
RE: Set Zombie walking to waypoints - by exit361 - 10-29-2010, 10:22 PM
RE: Set Zombie walking to waypoints - by house - 10-29-2010, 11:11 PM
RE: Set Zombie walking to waypoints - by anzki - 10-30-2010, 11:41 AM



Users browsing this thread: 1 Guest(s)