Jarno Posted June 19, 2005 Share Posted June 19, 2005 (edited) Is there a opcode to make $player2 follow $player_actor. (Also if both in a car) And I need a opcode that $player2 will tries to attack $player_actor. (Also if both in a car) Can't find any working opcode. J-Fox.GEMM gaved me this code: 01CA: actor $actor123 kill player $PLAYER_CHAR But that won't work... Edited June 19, 2005 by Jarno Link to comment Share on other sites More sharing options...
Y_Less Posted June 19, 2005 Share Posted June 19, 2005 Which game is this for? Link to comment Share on other sites More sharing options...
ocram88 Posted June 19, 2005 Share Posted June 19, 2005 They attack each other in a car? You need the ram Opcode. Link to comment Share on other sites More sharing options...
Jarno Posted June 20, 2005 Author Share Posted June 20, 2005 It's SanAndreas. Which opcode is the ram code? Link to comment Share on other sites More sharing options...
jax Posted June 20, 2005 Share Posted June 20, 2005 I havn't found the ram opcode yet, but as for making an actor try to kill another actor, this is the opcode used in San Andreas. 05E2: $Actor1 kill_actor $Actor2 Have fun. -jax Link to comment Share on other sites More sharing options...
Jarno Posted June 20, 2005 Author Share Posted June 20, 2005 Tnx that work. But not that I wan't Link to comment Share on other sites More sharing options...
Y_Less Posted June 20, 2005 Share Posted June 20, 2005 01d1 set_actor_to_follow_actor Link to comment Share on other sites More sharing options...
Muggers Posted June 20, 2005 Share Posted June 20, 2005 I had a problem in Vice City similar to this. The 'tie $actor to $player_char' opcode somehow canceled out the ability to use the '$actor kill player $player_char' code. I had to use the '$actor follow $player_char' code, check to see if $player_char was driving or walking, if driving, make $actor enter car, etc. I haven't tried coding San Andreas yet, but that might give you a place to start.... Good luck. Link to comment Share on other sites More sharing options...
Jarno Posted June 21, 2005 Author Share Posted June 21, 2005 01d1 set_actor_to_follow_actor Don't work Crash... Link to comment 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