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 :(
Rowzter Offline
Junior Member

Posts: 44
Threads: 12
Joined: Oct 2012
Reputation: 3
#5
RE: Key Unlock Door script won't work :(

Well, Thx for the help anyway, it just don't want to work Sad .

Whatever, i skip those locked doors, but are there some other alternatives instead of unlocking door with key? Tongue


And i have a new question, i want a grunt to spawn when i pick up a health potion and i added som pathnodes i think they called, But is this scriptcode right?:


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 Onstart()
{
CallBackFunction ("Syntaxfeeble", true);



the syntaxfeeble have i never spotted before? :O
(This post was last modified: 10-09-2012, 07:26 PM by Rowzter.)
10-09-2012, 07:26 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 Rowzter - 10-09-2012, 07:26 PM



Users browsing this thread: 1 Guest(s)