The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
How to make entities fall?
Artsy Offline
Member

Posts: 213
Threads: 10
Joined: Feb 2014
Reputation: 9
#1
How to make entities fall?

Basically what I'm trying to do is get a statue to fall. I've tried this:

PHP Code: (Select All)
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.
04-18-2014, 02:07 PM
Find


Messages In This Thread
How to make entities fall? - by Artsy - 04-18-2014, 02:07 PM
RE: How to make entities fall? - by Artsy - 04-18-2014, 02:30 PM
RE: How to make entities fall? - by Romulator - 04-18-2014, 02:32 PM
RE: How to make entities fall? - by Artsy - 04-18-2014, 02:38 PM
RE: How to make entities fall? - by Mudbill - 04-18-2014, 07:00 PM
RE: How to make entities fall? - by Artsy - 04-18-2014, 07:46 PM
RE: How to make entities fall? - by Mudbill - 04-19-2014, 01:05 AM



Users browsing this thread: 1 Guest(s)