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
SanityBoost script is giving me an error?
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: SanityBoost script is giving me an error?

(10-20-2011, 09:09 PM)MissMarilynn Wrote: Great! and how can I get this to work as well:

void open(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("officedoor", false, true);
PlaySoundAtEntity("", "unlock_door", "door1", 0, false);
RemoveItem("officekey");
GiveSanityBoostSmall();
}

I want a sanity boost when I use the key on the office door?

PHP Code: (Select All)
AddUseItemCallback("open_office_door""officekey""officedoor""open"false); 

Tutorials: From Noob to Pro
10-20-2011, 09:17 PM
Website Find


Messages In This Thread
RE: SanityBoost script is giving me an error? - by Your Computer - 10-20-2011, 09:17 PM



Users browsing this thread: 1 Guest(s)