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
ladder script help
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#6
RE: ladder script help

(07-11-2012, 09:22 PM)HoyChampoy Wrote: would i put these in the void onstart? is there another code i need? because how will the setmoveobject state know how to make the area active?

SetMoveObjectState(string& asName, float afState);

SetEntityActive(string& asName, bool abActive);

You said you wanted to know how to set the ladder (MoveObject) in the opposite state; i provided you with the function required. You said you wanted to know what function to use to deactivate an area; i provided you with the function required (though deactivating the area can be done in the level editor, too). Neither of these functions "know" when to make the ladder area active or not. I've already provided you with a function to set a callback for informing your script of state changes.

Tutorials: From Noob to Pro
07-11-2012, 09:56 PM
Website Find


Messages In This Thread
ladder script help - by HoyChampoy - 07-11-2012, 03:22 AM
RE: ladder script help - by Your Computer - 07-11-2012, 07:25 AM
RE: ladder script help - by HoyChampoy - 07-11-2012, 08:22 AM
RE: ladder script help - by Your Computer - 07-11-2012, 11:33 AM
RE: ladder script help - by HoyChampoy - 07-11-2012, 09:22 PM
RE: ladder script help - by Your Computer - 07-11-2012, 09:56 PM
RE: ladder script help - by HoyChampoy - 07-11-2012, 10:16 PM
RE: ladder script help - by Your Computer - 07-11-2012, 11:13 PM
RE: ladder script help - by HoyChampoy - 07-12-2012, 12:14 AM
RE: ladder script help - by Your Computer - 07-12-2012, 01:17 AM
RE: ladder script help - by HoyChampoy - 07-12-2012, 01:56 AM



Users browsing this thread: 1 Guest(s)