MoveObject & SetTimer in the same time
#2

The object travels to the ground pretty much instantly, because you set a veeery high speed (depends on the distance to the ground)...

The parameter in MoveObject is not time, it is speed. Thus, the distance to travel does not matter, since the bombs should probably move at a fixed speed.

Also why do you do it so complicated? There is a callback named "OnDynamicObjectMoved".
Using this, you can apply a static speed to an object and do not need to calculate anything, also no timer required.
Reply


Messages In This Thread
MoveObject & SetTimer in the same time - by NeXoR - 07.11.2016, 22:28
Re: MoveObject & SetTimer in the same time - by NaS - 08.11.2016, 01:31
Re: MoveObject & SetTimer in the same time - by NeXoR - 08.11.2016, 06:44
Re: MoveObject & SetTimer in the same time - by Threshold - 08.11.2016, 08:06
Re: MoveObject & SetTimer in the same time - by NeXoR - 08.11.2016, 10:56

Forum Jump:


Users browsing this thread: 1 Guest(s)