Difference between revisions of "00FF"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
== '''00FF''' ==
+
{{OpCode
 +
| ini        = 00FF=8,  %1d%  %8d%  %2d% %3d% %4d%  %5d% %6d% %7d%
 +
| description = checks if an actor is at a specific place on foo. 
 +
| p1          = any existing actor handle
 +
| p2          = unknown
 +
| p3          = X-Coordinate
 +
| p4          = Y-Coordinate
 +
| p5          = Z-Coordinate
 +
| p6          = X-radius offset
 +
| p7          = Y-radius offset
 +
| p8          = Z-radius offset
 +
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 +
}}
 +
This opcode checks if an actor is at a specific place on foot radius the set XYZ offset.
  
'''Number of parameters:''' 8
+
==Sanny Builder Example==
  
'''Works in:''' <br> SA
+
<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>
  
'''User'''
+
==Keywords==
 
+
check, sphere, actor
CyQ
 
 
 
'''Example'''
 
 
 
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
 
 
 
'''Notes'''
 
 
 
Apparently unused in GTA SA, but i have seen it used in a script.
 
 
 
[[Category:OpCodes]]
 

Revision as of 15:50, 9 October 2010

{{{games}}}


Description
checks if an actor is at a specific place on foo.
Syntax
{{{syntax1}}}
Parameter

This opcode checks if an actor is at a specific place on foot radius the set XYZ offset.

Sanny Builder Example

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

Keywords

check, sphere, actor