Functions Documentation |
|
Name |
sysCreateEffect |
Syntax |
(sysCreateEffect unid spaceObject position) |
Argument List |
unid: the UNID of the effect you want to display.
spaceObject: the spaceObject that called the effect, can be a ship or a station or Nil
position: position of the effect |
Returns |
condition: True if successful |
Category |
unid, system, create
|
Description |
Creates an effect from the UNID in the desidered position (vector) |
Example |
(sysCreateEffect &efGemOfSacrifice; gSource (objGetPos gSource))
Creates the Gem of Sacrifice effect centered on the calling space object |
Comment |
Because effects can generate sounds, animations and weapon effects, I think that this function has great modding potential.
Currently used ingame only for the Gem of Sacrifice |