TASK COMBAT HATED TARGETS AROUND CHAR

From GTAMods Wiki
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.