Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: ReeNoiP on August 09, 2009, 04:05:06 am
-
I am trying to turn a destroyer using this sexp and a waypoint, but have problems setting the turn time, so that it looks realistic. If I set something like 800, it turns in 1-2 seconds, but if I set 8000 (assuming milliseconds) it doesn't move at all.
What I have is another ship heading for the waypoint at 20 m/s, and I want it to look like the destroyer is trying to face that ship.
set-object-facing-object
destroyer
waypoint
??
0
-
I've had a lot of trouble with this SEXP. I'd just use set-object-facing and input the waypoint's coordinates instead of bothering with set-object-facing-object.
-
what you turning the destroyer for?
I ask looking for an alternative way to do it
-
If you issue an attack order to that destroyer it might turn to face the enemy ship.
-
If you issue an attack order to that destroyer it might turn to face the enemy ship.
Yeah, but I can't control the speed. And it will bank and move towards the ship, which I don't want. I am going to try with set-object-facing, once I get some time again.