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
Script Help Key Unlock Door script won't work :(
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#10
RE: Key Unlock Door script won't work :(

Errr... it think it should be:

void OnStart()

{

SetEntityPlayerInteractCallback("potion_health_2", "ActivateMonster", true);
}



void ActivateMonster (string &in asEntity);

{

SetEntityActive("servant_grunt_1", true);

    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 2, "");

    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0, "");

    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_3", 0, "");

    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_4", 0, "");

    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_5", 0, "");

    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_6", 0, "");

}

void OnEnter()

{







}





void OnLeave()

{
            

}

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 10-10-2012, 08:34 PM by The chaser.)
10-10-2012, 08:33 PM
Find


Messages In This Thread
Key Unlock Door script won't work :( - by Rowzter - 10-08-2012, 10:00 PM
RE: Key Unlock Door script won't work :( - by The chaser - 10-10-2012, 08:33 PM



Users browsing this thread: 1 Guest(s)