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
My boolean functions are messing up the script
willochill Offline
Member

Posts: 73
Threads: 27
Joined: Apr 2011
Reputation: 0
#7
RE: My boolean functions are messing up the script

this is what isn't working:
in void OnStart(),
if (GetEntityExists("servant_grunt_2") == false)
{
AddEntityCollideCallback("Player", "AreaDeadManInCloset", "LookAtDeadMan", true, 1);
}
AND:
if (HasItem("bone_saw_2") == false)
{
AddEntityCollideCallback("Player", "AreaSave_1", "AutoSaveStudy", true, 1);
}
for both of these basically the if statement before it basically just eliminates the entire function. dunno why.
and yes they are indented in my script lol
(This post was last modified: 06-01-2011, 03:43 AM by willochill.)
06-01-2011, 03:42 AM
Find


Messages In This Thread
RE: My boolean functions are messing up the script - by willochill - 06-01-2011, 03:42 AM



Users browsing this thread: 1 Guest(s)