Difference between revisions of "06F0"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 06F0=2,%1d% %2d%
+
| games      = {{Icon|SA}}
| description = Sets the distance limit of the [[07AF|group]]
+
| command    = SET_GROUP_SEPARATION_RANGE
| p1          = Existing group handle
+
| description = Sets the separation range of the [[07AF|group]]
| p2          = Float
+
| syntax1    = 06F0: set_group [''group handle''] distance_limit_to [''flt'']
| game        = San Andreas
+
| p1t        = [''group handle'']
 +
| p1d        = The handle of the group
 +
| p2t        = [''flt'']
 +
| p2d        = Distance in units
 
| native      = [[SET_GROUP_SEPARATION_RANGE]]
 
| native      = [[SET_GROUP_SEPARATION_RANGE]]
 
}}
 
}}
This sets the distance limit of the group. The float value is the distance in units that the members of the group can stray around before getting "lost." If the member stray too far from the [[0630|leader]], the member will no longer belong to the group.
 
  
==Keywords==
+
This opcode sets the separation range of the group. The distance is how far the members of the group can stray around before getting "lost." If a member strays too far from the [[0630|leader]], the member will no longer belong to the group.
set, distance, actor, character, separate, group
+
 
 +
== Keywords ==
 +
set, distance, separate, separation, range, group

Latest revision as of 05:19, 22 December 2016

San Andreas SET_GROUP_SEPARATION_RANGE


Description
Sets the separation range of the group
Syntax
06F0: set_group [group handle] distance_limit_to [flt]
Parameter
[group handle]
The handle of the group
[flt]
Distance in units
Native analog
SET_GROUP_SEPARATION_RANGE

This opcode sets the separation range of the group. The distance is how far the members of the group can stray around before getting "lost." If a member strays too far from the leader, the member will no longer belong to the group.

Keywords

set, distance, separate, separation, range, group