CreateFireworks: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
{{FuncParam|y|World Y location.}} | {{FuncParam|y|World Y location.}} | ||
{{FuncParam|z|World Z location.}} | {{FuncParam|z|World Z location.}} | ||
{{FuncParam|rx|Pitch rotation. Should be 90 to have the fireworks shoot up.}} | {{FuncParam|rx|Pitch rotation. Should be 90.0 to have the fireworks shoot up.}} | ||
{{FuncParam|ry|Yaw rotation.}} | {{FuncParam|ry|Yaw rotation.}} | ||
{{FuncParam|rz|Roll rotation.}} | {{FuncParam|rz|Roll rotation.}} |
Revision as of 09:06, 8 October 2019
Description
__EDIT_ME__
Syntax
CreateFireworks(modelid, x, y, z, rx, ry, rz)
Parameters
- modelid
Id for fireworks preset (1-13). - x
World X location. - y
World Y location. - z
World Z location. - rx
Pitch rotation. Should be 90.0 to have the fireworks shoot up. - ry
Yaw rotation. - rz
Roll rotation.
Return Value
- Returns true on success.
Example
__EDIT_ME__
See also
__EDIT_ME__