Quantcast

Jump to content

» «
Photo

PROTECT CJ

3 replies to this topic
lendoff
  • lendoff

    Player Hater

  • Members
  • Joined: 28 Apr 2013

#1

Posted 13 July 2013 - 05:32 AM

caught actors using these opcodes....

073F: get_actor_in_sphere 1@ 2@ 3@ radius 1.0 with_pedtype_civilian 1 gang 1 criminal/prostitute 1 handle_as @7

and that here also

Actor.Model(7@) == #FAM1
Actor.Model(7@) == #FAM2
Actor.Model(7@) == #FAM3

and use it here too...

07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
0630: put_actor $PLAYER_ACTOR in_group $PLAYER_GROUP as_leader
0631: put_actor 7@ in_group $PLAYER_GROUP
0850: AS_actor 7@ follow_actor $PLAYER_ACTOR




But they are not protecting the cj, where cj is attacked by another ped or when attacked by the police ..
They just do not shoot

lendoff
  • lendoff

    Player Hater

  • Members
  • Joined: 28 Apr 2013

#2

Posted 03 August 2013 - 01:18 PM

help me

TheGodfather.
  • TheGodfather.

    Nobody likes me here...I think...

  • Members
  • Joined: 19 Jun 2012

#3

Posted 03 August 2013 - 01:45 PM

Post your complete script.

lendoff
  • lendoff

    Player Hater

  • Members
  • Joined: 28 Apr 2013

#4

Posted 03 August 2013 - 06:55 PM

the script is not mine .. I just moved to recruit grove street gang members he recruited only pedestrians .. more .. basically this is it ..
I guess I would have to put some decision maker or an opcode for the actor to be recognized as a gang member pedtype .. Or else, task ids and events or some set_acquaintance, but I do not know the numbering, and what they do ..

already tried decision maker, but I do not know what is the value that places the actors to shoot at police, who shoot at cj attack, and attack other gangs ..

I think these opcodes must have some relation..

060B: set_actor 1@ decision_maker_to 65543
06AD: set_group $PLAYER_GROUP group_decision_maker_to 42@
0746: set_acquaintance 1 of_actors_pedtype 8 to_actors_pedtype 0 // see ped.dat
077A: set_actor 1@ acquaintance 4 to_actors_pedtype 0 // see ped.dat





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users