Difference between revisions of "ALLOCATE SCRIPT TO OBJECT"
Jump to navigation
Jump to search
| Line 4: | Line 4: | ||
|p1d=Script Name | |p1d=Script Name | ||
|p2t=integer | |p2t=integer | ||
| − | |p2d=Model Hash | + | |p2d=[[List of models hashes|Model Hash]] |
|p3t=integer | |p3t=integer | ||
| − | |p3d= | + | |p3d=priority (always 100) |
|p4t=float | |p4t=float | ||
| − | |p4d= | + | |p4d=radius |
|p5t=integer | |p5t=integer | ||
| − | |p5d= | + | |p5d=type (always -1) |
|r=0 | |r=0 | ||
}} | }} | ||
| − | + | Allocates a script to an object, which will be activated when the player is within the specified area around it. | |
| − | Allocates a script to an object. | ||
{{Incomplete}} | {{Incomplete}} | ||
Latest revision as of 11:23, 23 February 2009
| Number of parameters: 5 | ||
|---|---|---|
| Parameter # | Type | Description |
| 1. | string | Script Name |
| 2. | integer | Model Hash |
| 3. | integer | priority (always 100) |
| 4. | float | radius |
| 5. | integer | type (always -1) |
| Return value: | ||
| Type | Description | |
| None | ||
Allocates a script to an object, which will be activated when the player is within the specified area around it.
This section is incomplete. You can help by fixing and expanding it.