Difference between revisions of "0929"
Jump to navigation
Jump to search
(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...) |
|||
Line 1: | Line 1: | ||
{{OpCode | {{OpCode | ||
− | | | + | | games = {{Icon|SA}} |
− | | description = Initiates the | + | | command = ALLOCATE_STREAMED_SCRIPT_TO_OBJECT |
− | | | + | | description = Initiates the streamed script when near the object |
− | | | + | | syntax1 = 0929: init_external_script_trigger [''int1''] with_object_model [''int2''] priority [''int3''] radius [''flt''] type [''int4''] |
− | | | + | | p1t = [''int1''] |
− | | | + | | p1d = [[Streamed Script|Streamed script id]] |
− | | | + | | p2t = [''int2''] |
− | | | + | | p2d = Model index |
+ | | p3t = [''int3''] | ||
+ | | p3d = Priority | ||
+ | | p4t = [''flt''] | ||
+ | | p4d = Radius | ||
+ | | p5t = [''int4''] | ||
+ | | p5d = Type | ||
| native = [[ALLOCATE_SCRIPT_TO_OBJECT]] | | native = [[ALLOCATE_SCRIPT_TO_OBJECT]] | ||
}} | }} | ||
− | |||
− | ==Keywords== | + | This opcode initiates the streamed script if the player is within the radius of the object model. The object has to be defined in the <code>[[object.dat]]</code> file. You do not have to load the script or the object for this opcode to work. The priority is the priority of the script over other objects that may also be in the area. |
− | initiate, activate, external, script, object | + | |
+ | == Keywords == | ||
+ | initiate, activate, external, streamed, script, object |
Latest revision as of 00:28, 3 December 2016
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT
- Description
- Initiates the streamed script when near the object
- Syntax
- 0929: init_external_script_trigger [int1] with_object_model [int2] priority [int3] radius [flt] type [int4]
- Parameter
- [int1]
- Streamed script id
- [int2]
- Model index
- [int3]
- Priority
- [flt]
- Radius
- [int4]
- Type
- Native analog
- ALLOCATE_SCRIPT_TO_OBJECT
This opcode initiates the streamed script if the player is within the radius of the object model. 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. The priority is the priority of the script over other objects that may also be in the area.
Keywords
initiate, activate, external, streamed, script, object