xXxbBb Posted March 30, 2010 Share Posted March 30, 2010 Is it possible to check if an actor faces another actor? What's the opcode for it? Link to comment https://gtaforums.com/topic/444230-actor-angles/ Share on other sites More sharing options...
TheSiggi Posted March 30, 2010 Share Posted March 30, 2010 just get their angles and check the relation of them easy math stuff but there is an other opcode which makes an actor rotate and face the other angle just type in 'actor rotate to' in opcode search if there is no specific opcode for sth. try to improvise and figure out how to replace this issing opcode Link to comment https://gtaforums.com/topic/444230-actor-angles/#findComment-1059847609 Share on other sites More sharing options...
Peppo_o'Paccio Posted March 30, 2010 Share Posted March 30, 2010 I think it's the 0A1D: opcode: 0A1D: AS_actor 1@ rotate_to_and_look_at_actor 2@ or you can simply select the Z angle of the actor with this: 0173: set_actor 1@ Z_angle_to 0.0 Link to comment https://gtaforums.com/topic/444230-actor-angles/#findComment-1059847716 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now