Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


IN NEED OF SCRIPTING HELP
neocrawler Offline
Member

Posts: 57
Threads: 19
Joined: Sep 2011
Reputation: 1
#5
RE: IN NEED OF SCRIPTING HELP

void OnStart()
{
GiveItemFromFile("lantern", "lantern.ent");
AddEntityCollideCallback("chair1", "door1", "break1", true, 1);
}

void break1(string &in asParent, string &in asChild, int alState)
{
AddPropHealth("door1", -100);
}
try this it will maybe change something. Instead you say when door1 comes into chair's1 area break. you say when chair1 enters door's1 area break

09-29-2011, 10:36 PM
Website Find


Messages In This Thread
IN NEED OF SCRIPTING HELP - by Nuite - 09-17-2011, 12:59 PM
RE: IN NEED OF SCRIPTING HELP - by Elven - 09-17-2011, 09:05 PM
RE: IN NEED OF SCRIPTING HELP - by JenniferOrange - 09-17-2011, 10:14 PM
RE: IN NEED OF SCRIPTING HELP - by Nuite - 09-17-2011, 11:07 PM
RE: IN NEED OF SCRIPTING HELP - by neocrawler - 09-29-2011, 10:36 PM



Users browsing this thread: 1 Guest(s)