Jump to content

Get actors group handle


HeresOtis

Recommended Posts

Any function to get the handle of a group that the actor is in? When gang members spawn next to each other and walk by each other by the game engine, are they in a group?

Link to comment
Share on other sites

if player recruited homies allows to do following

07AF: 25@ = player $PLAYER_CHAR group092B: 0@ = group 25@ member 0  092B: 1@ = group 25@ member 1092B: 2@ = group 25@ member 2092B: 3@ = group 25@ member 3092B: 4@ = group 25@ member 4092B: 5@ = group 25@ member 5092B: 6@ = group 25@ member 6// ^param order of sascm-v1.inifor 29@ to 6    wait 0    if        056D:   actor 0@(29@,7i) defined// checks if gangmember exist    then        do something    endend 

to check for a unknown group of any actor, i think there isn't a code(i don't know any)
there're only codes to set or get details of existing groups and this one:

06EE:   is_group_member 263@ group 260@

existing groups means, created by main or cleo script
group related opcodes:
07AF
062F
0630
0631
0632
06F0
07B3
07F6
092B
06C9
07FD
08F5
08F6
08F4

Edited by ZAZ
Link to comment
Share on other sites

you mean which gang, they aren't a group

Edited by ZAZ
Link to comment
Share on other sites

you mean which gang, they aren't a group

I think it's a group. You know when the game spawns a group of ballas (or grove) and they walk around close to each other and if you shoot one of them then they all attack you. I want to get the handle of that group of ballas/group.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.