TASK COMBAT HATED TARGETS AROUND CHAR

From GTAMods Wiki
Revision as of 18:17, 28 February 2011 by Impediment (talk | contribs) (Created page with '{{Native |np=2 |p1t=Integer |p1d=Char Handle |p2t=Float |p2d=Radius }} This function will have the char attack any enemies to it, or to the group it is in, who are within the r…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TASK_COMBAT_HATED_TARGETS_AROUND_CHAR
Number of parameters: 2
Parameter #TypeDescription
1.IntegerChar Handle
2.FloatRadius
Return value:
TypeDescription
None


This function will have the char attack any enemies to it, or to the group it is in, who are within the radius of the char. Char will continue to follow group leader, though will move slower while firing.


NOTE: The task may end if/when no enemies are around.

NOTE: This task may also make the char attack others whose relationship with the ped type is set to hated even if they are not a threat.