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 :(
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#6
RE: Key Unlock Door script won't work :(

First, let me show you this.

(10-09-2012, 07:26 PM)Rowzter Wrote: void OnStart()
{
SetEntityPlayerInteractCallback("potion_health_2", "ActivateMonster", true);

}






void ActivateMonster(string &in item)
{
SetEntityActivate("basementgrunt_1", true);
AddEnemyPatrolNode("basementgrunt_1","PathNodeArea_1", 0,"idle");
AddEnemyPatrolNode("basementgrunt_1","PathNodeArea_2", 0,"idle");
AddEnemyPatrolNode("basementgrunt_1","PathNodeArea_3", 0,"idle");
AddEnemyPatrolNode("basementgrunt_1","PathNodeArea_4", 0,"idle");
AddEnemyPatrolNode("basementgrunt_1","PathNodeArea_5", 0,"idle");
AddEnemyPatrolNode("basementgrunt_1","PathNodeArea_6", 0,"idle");
}

void OnEnter()
{
CallBackFunction ("Syntaxfeeble", true);
}

"CallBackFunction"? Don't think something like that exists.

For scripts, go to the Script Functions Page .

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-09-2012, 07:30 PM by Robby.)
10-09-2012, 07:29 PM
Website 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 Robby - 10-09-2012, 07:29 PM



Users browsing this thread: 1 Guest(s)