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 Moving shelf via button
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#3
RE: Moving shelf via button

Go into the level editor, click on the button. In the entity tab. Under PlayerInteractCallBack. Type ShelfMove

Hit enter and save. In your .hps put this in:

Quote:void ShelfMove(string &in asEntity)
{
SetMoveObjectState("Shelf_name",1.0f);
PlaySoundAtEntity("", "quest_completed.snt", "shelf_move_1", 0, false);
return;
}

(This post was last modified: 01-21-2012, 06:04 AM by flamez3.)
01-21-2012, 05:47 AM
Find


Messages In This Thread
Moving shelf via button - by Quotentote - 01-21-2012, 05:19 AM
RE: Moving shelf via button - by Tripication - 01-21-2012, 05:23 AM
RE: Moving shelf via button - by flamez3 - 01-21-2012, 05:47 AM
RE: Moving shelf via button - by triadtimes - 01-21-2012, 05:57 AM
RE: Moving shelf via button - by Quotentote - 01-21-2012, 06:09 AM



Users browsing this thread: 1 Guest(s)