Difference between revisions of "00FF"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 00FF=8,  %1d%  %8d%  %2d% %3d% %4d%  %5d% %6d% %7d%
+
| games      = {{Icon|t}}
| description = checks if an actor is at a specific place on foo. 
+
| command    = LOCATE_CHAR_ON_FOOT_3D
| p1          = any existing actor handle
+
| description = Checks if the character is located within the area while on foot
| p2          = unknown
+
| syntax1    = 00FF:   actor [''char handle''] [''int''] [''flt1''] [''flt2''] [''flt3''] radius [''flt4''] [''flt5''] [''flt6'']
| p3          = X-Coordinate
+
| p1t        = [''char handle'']
| p4          = Y-Coordinate
+
| p1d        = The handle of the character
| p5          = Z-Coordinate
+
| p2t        = [''int'']
| p6          = X-radius offset
+
| p2d        = Highlight area with marker
| p7          = Y-radius offset
+
| p3t        = [''flt1'']
| p8          = Z-radius offset
+
| p3d        = X-coordinate
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| p4t        = [''flt2'']
 +
| p4d        = Y-coordinate
 +
| p5t        = [''flt3'']
 +
| p5d        = Z-coordinate
 +
| p6t        = [''flt4'']
 +
| p6d        = X-radius
 +
| p7t        = [''flt5'']
 +
| p7d        = Y-radius
 +
| p8t        = [''flt6'']
 +
| p8d        = Z-radius
 
}}
 
}}
This opcode checks if an actor is at a specific place on foot radius the set XYZ offset.
 
  
==Sanny Builder Example==
+
This conditional opcode returns true when the character is located within the area while on foot.
 
 
<source lang="scm">00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $X_JOHNSON_HOUSE $Y_JOHNSON_HOUSE $Z_JOHNSON_HOUSE radius 1.0 1.0 2.0 on_foot</source>
 
  
 
==Keywords==
 
==Keywords==
check, sphere, actor
+
check, locate, sphere, marker, actor, character, coordinates

Revision as of 17:30, 28 January 2016

GTA III Vice City San Andreas LOCATE_CHAR_ON_FOOT_3D


Description
Checks if the character is located within the area while on foot
Syntax
00FF:   actor [char handle] [int] [flt1] [flt2] [flt3] radius [flt4] [flt5] [flt6]
Parameter
[char handle]
The handle of the character
[int]
Highlight area with marker
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate
[flt4]
X-radius
[flt5]
Y-radius
[flt6]
Z-radius

This conditional opcode returns true when the character is located within the area while on foot.

Keywords

check, locate, sphere, marker, actor, character, coordinates