Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Commands->Set_Facing
Re: Commands->Set_Facing [message #428733 is a reply to message #428721] Wed, 19 May 2010 00:57 Go to previous messageGo to previous message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma:
General (5 Stars)
Try setting the looking at location instead for infantry, I can't remember the names of the functions off the top of my head but it lets you set where the infantry unit is 'looking', hence setting the direction it's facing in.

Quick bit of maths to determine the x,y,z of a location 1m from the unit in the direction you want it to face should be all you need.



EDIT: I think it's called something like Force_Camera_Look_Player, but IIRC it should work for AI too.... give it a try.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Wed, 19 May 2010 01:02]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Flag w3d
Next Topic: Renegade beta vid?
Goto Forum:
  


Current Time: Sat Oct 26 04:35:23 MST 2024

Total time taken to generate the page: 0.15867 seconds