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
SetMoveObjectState
gosseyn Offline
Member

Posts: 63
Threads: 7
Joined: Sep 2010
Reputation: 1
#3
RE: SetMoveObjectState

here is my loop
AddEntityCollideCallback("Player", "AreaTest", "TestMe", false, 1);

void TestMe(string &in asParent, string &in asChild, int alState)
{
    AddTimer("", 2.0f, "RunMe");
    AddDebugMessage("OBJECT WILL MOVE IN 2 SECONDS ", false);
}

void RunMe(string &in asTimer)
{
    AddDebugMessage("OBJECT MOVING ", false);
    SetMoveObjectState("box", 0.25f);
    AddTimer("", 5.0f, "RunMe");
}

As i said, the debug message "OBJECT MOVING" is looping, but not the SetMoveObjectState.
09-23-2010, 01:28 PM
Find


Messages In This Thread
SetMoveObjectState - by gosseyn - 09-23-2010, 12:48 PM
RE: SetMoveObjectState - by jens - 09-23-2010, 12:58 PM
RE: SetMoveObjectState - by gosseyn - 09-23-2010, 01:28 PM
RE: SetMoveObjectState - by jens - 09-23-2010, 01:45 PM
RE: SetMoveObjectState - by gosseyn - 09-23-2010, 01:52 PM



Users browsing this thread: 1 Guest(s)