Difference between revisions of "ScriptGenerateMissile"

From Amulets & Armor Wiki
Jump to: navigation, search
(Additional Resources)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
GenerateMissile( [type], [x], [y], [z], [targetX], [targetY], [targetZ], [speed])
 
GenerateMissile( [type], [x], [y], [z], [targetX], [targetY], [targetZ], [speed])
  
Plays a sound at the specified location to anyone within the radius.
 
  
 
=== Arguments ===
 
=== Arguments ===
Line 28: Line 27:
 
   End();
 
   End();
 
</nowiki>
 
</nowiki>
 +
 +
=== Additional Resources ===
 +
[[Missiles]] - List of all Missile numbers
 +
 +
----
 +
Back to [[Scripting]] Main Page

Latest revision as of 18:58, 19 February 2017

GenerateMissile( [type], [x], [y], [z], [targetX], [targetY], [targetZ], [speed])


Arguments

type - The type of missile object (it must be a missile from the Missiles list) that is generated.

X - X location on map. Found in status bar when using 2d view in Doom Builder 2.

Y - Y location on map. Found in status bar when using 2d view in Doom Builder 2.

Z - Z location on map. Found in starting sector's floor height plus a bit more.

targetX - Target X location on map. Found in status bar when using 2d view in Doom Builder 2.

targetY - Target Y location on map. Found in status bar when using 2d view in Doom Builder 2.

targetZ - Target Z location on map. Found in starting sector's floor height plus a bit more.

speed - Speed setting. Average speed is 30.

Example

40:  // Shoot normal arrow diagonally across the room
   GenerateMissile(886, 10, 10, 32, 128, 128, 32, 30);
   End();

Additional Resources

Missiles - List of all Missile numbers


Back to Scripting Main Page