04-18-2014, 02:07 PM
Basically what I'm trying to do is get a statue to fall. I've tried this:
and for some reason both of them are still active entities (CrudeManChainsFall is floating in mid air while CrudeManChainsInit is still active). How do I make that to fall down and not float in mid air while the normal one just disappears? I've got Static Physics enabled too.
PHP Code:
void OnStart(){
//Timers
{
AddTimer("StatueFall_timer", 0.8f, "StatueFall");
}
}
void StatueFall(string &in asTimer){
{
SetEntityActive("CrudeManChainsInit", false);
SetEntityActive("CrudeManChainsFall", true);
}
}
and for some reason both of them are still active entities (CrudeManChainsFall is floating in mid air while CrudeManChainsInit is still active). How do I make that to fall down and not float in mid air while the normal one just disappears? I've got Static Physics enabled too.