Difference between revisions of "CreateFireworks"

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|CreateFireworks(modelid, x, y, z, rx, ry, rz)}} <div class="noprint" style="float:right;"> File:f...")
 
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
</div>
 
</div>
 
{{FuncParameters}}
 
{{FuncParameters}}
{{FuncParam|modelid|Id for fireworks preset.}}
+
{{FuncParam|modelid|Id for fireworks preset (1-13).}}
 
{{FuncParam|x|World X location.}}
 
{{FuncParam|x|World X location.}}
 
{{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.}}

Latest revision as of 11:06, 8 October 2019

CreateFireworks

Type: Function
Context: Client
Introduced: v1.0

Description

__EDIT_ME__

Syntax

CreateFireworks(modelid, x, y, z, rx, ry, rz)

fireworks.png

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__