Pie015 Posted October 11, 2010 Share Posted October 11, 2010 (edited) Hey guys i have a bit of a problem, I put the actor in my group and but he doesent kill anyone when I aim at the random ped instead he just stands there! [NOTE* I cut of some of the script so dont mind the AK47 and sh*t 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group :003BC: 0@ = create_sphere_at 2415.0339 -49.6706 28.1535 radius 1.0repeatwait 0 msuntil 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 2415.0339 -49.6706 28.1535 radius 1.0 1.0 1.003BD: destroy_sphere [email protected]// Load modelsModel.Load(#AK47)Model.Load(#M4)Model.Load(#WMYST)Model.Load(#CWMYHB1)Model.Load(#CHNSAW)023C: load_special_actor 'MACCER' as 1 // models 290-299 038B: load_requested_models :1wait 0if orModel.Available(#AK47)Model.Available(#M4)Model.Available(#WMYST)Model.Available(#CWMYHB1)Model.Available(#CHNSAW)023D: special_actor 1 loaded else_jump @1:21@ = Actor.Create(CivMale, #WMYST, 2415.2402, -51.989, 28.1535)Actor.Angle(1@) = 357.5466Actor.RemoveReferences(1@):30631: put_actor 1@ in_group $PLAYER_GROUPjf @3 Edited October 11, 2010 by Pie015 Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/ Share on other sites More sharing options...
yair1221 Posted October 11, 2010 Share Posted October 11, 2010 try using it as pedtype 8 or something or just give it as_actor 1@ kill actor -1(use opcode search), but i cant assure the last one wont make him attack you... Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060158275 Share on other sites More sharing options...
Pie015 Posted October 11, 2010 Author Share Posted October 11, 2010 try using it as pedtype 8 or somethingor just give it as_actor 1@ kill actor -1(use opcode search), but i cant assure the last one wont make him attack you... Thanks yair, I used a aiming opcode witch will attack the enemy Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060158294 Share on other sites More sharing options...
yair1221 Posted October 11, 2010 Share Posted October 11, 2010 you mean 0457: ? because i dont get it, how does people get the handle of the aimed actor...? 0457: is just to check if the actor is aiming at a specific actor... Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060158379 Share on other sites More sharing options...
Pie015 Posted October 11, 2010 Author Share Posted October 11, 2010 :labelwait 0if0457:jf @labelAS_actor 1@ kill_actor $PLAYER_ACTOR Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060158651 Share on other sites More sharing options...
yair1221 Posted October 13, 2010 Share Posted October 13, 2010 A.0457 needs 2 perimeters 0457: player $PLAYER_CHAR aiming_at_actor 101@ B.it only works for player, not actors...(player = controllable, actor = not controllable, just a PED, or an emulated PED[$player_actor]) C.do you want it to attack the player actor? Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060160113 Share on other sites More sharing options...
Pie015 Posted October 13, 2010 Author Share Posted October 13, 2010 I aim at actor 3@ (enemy) and my homie (1@) will attack him: :HIwait 0if0457: player $PLAYER_CHAR aiming_at_actor 3@jf @HI05E2: AS_actor 1@ kill_actor 3@ Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060160221 Share on other sites More sharing options...
yair1221 Posted October 13, 2010 Share Posted October 13, 2010 yeah...something like that but it will NOT work on random PEDs, only on PEDs that have handle(variable, e.g. 1@, $actor, and so...) Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060160420 Share on other sites More sharing options...
TheSiggi Posted October 13, 2010 Share Posted October 13, 2010 07CB: set_actor $ACTOR_RYDER supporting_fire 0 1st parameter: valid handle2nd param: boolean> false/true | 0/1; default value is 0/false is used for making gangmambers start fiering at peds you aim at cheers Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060160423 Share on other sites More sharing options...
yair1221 Posted October 13, 2010 Share Posted October 13, 2010 awesome! that is something i might use Link to comment https://gtaforums.com/topic/460819-actor-doesent-kill/#findComment-1060160489 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