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


Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to make floor break when u go to a certain area
Radical Batz Offline
Posting Freak

Posts: 953
Threads: 145
Joined: Dec 2013
Reputation: 25
#23
RE: how to make floor break when u go to a certain area

(06-21-2014, 08:11 AM)victorkim890(KimmyChimmy) Wrote: how to open chest with thalers

Here you go Smile

PHP Code: (Select All)
void OnStart()
{
    
AddUseItemCallback("""thalers""chest""OpenChest"true);
}

void OpenChest(string &in asItemstring &in asEntity)
{
if(
GetLocalVarInt("ChestVar") == 1)
{
    
SetLeverStuckState("chest"0false);
    
PlaySoundAtEntity("Unlock""unlock_door.snt""Player"0false);


(This post was last modified: 06-21-2014, 09:08 AM by Radical Batz.)
06-21-2014, 09:07 AM
Find


Messages In This Thread
RE: how to make floor break when u go to a certain area - by Radical Batz - 06-21-2014, 09:07 AM



Users browsing this thread: 1 Guest(s)