0929

From GTAMods Wiki
Revision as of 08:47, 2 January 2009 by Spaceeinstein (talk | contribs) (New page: {{OpCode | ini = 0929=5,%1x% %2o% %3h% %4d% %5h% | description = Initiates the external script when near the object | p1 = External script | p2 = DFF mode...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Initiates the external script when near the object
Syntax
{{{syntax1}}}
Parameter
Native analog
ALLOCATE_SCRIPT_TO_OBJECT

This initiates an external script if the player is near the object. The object has to be defined in the object.dat file. You do not have to load the script or the object for this opcode to work. Parameter 3 is the priority of the script over other objects that may also be in the area. Parameter 4 is the distance the player need to be in order to initiate the script.

Keywords

initiate, activate, external, script, object