james23222000 Posted September 2, 2008 Report Share Posted September 2, 2008 I have been creating a script for the LA mod called LACityWorks and LAToCityWorks (I am not part of the mod team so this is unofficial). I have got 3 tow trucks to spawn at the city works. But when the spawn they are facing the opposite direction to the way I want them to be. I have tried everything to rotate them and it has all ended up not working. So I was wondering is there a way in the script to get the vehicles facing the right way? Hope you can help.RegardsJames Quote Link to comment Share on other sites More sharing options...
james23222000 Posted September 3, 2008 Author Report Share Posted September 3, 2008 I have worked out a piece of code that I can use to do it:m.PushActionTurnTo(ACTION_APPEND, xxxx)But I am not sure how this piece of code works, i tried:m.PushActionTurnTo(ACTION_APPEND, VO_TOW012)and the game gave me a load of error messages. Can anyone tell me how to use this properly.RegardsJames Quote Link to comment Share on other sites More sharing options...
james23222000 Posted September 5, 2008 Author Report Share Posted September 5, 2008 Anyone? Quote Link to comment Share on other sites More sharing options...
Guest Oliwerko Posted September 9, 2008 Report Share Posted September 9, 2008 Wouldn't the SetRotation void do the job better? I didn't try it, but I would use that instead of PushAction command if I wanted to initially spawn something in a particular direction. Or SetLookAtDir. Try different functions. PushAction is probably not the best solution for this one. Quote Link to comment Share on other sites More sharing options...