The set_player_grid_damage mission scripting command changes the damage value of a player ship system in the 3D grid.
Attribute
|
Valid Values
|
Optional?
|
Description
|
name
|
text
|
Mandatory as of 2.7 - but you only need to use one, either name OR use_gm_selection.
|
Name of player ship. If name and use_gm_selection are both absent, this command will do nothing.
|
use_gm_selection |
anything |
Use this attribute to use the game master's selected player ship. If a player ship is not selected, this command will do nothing. This attribute was added in Artemis v2.4. |
systemType
|
One of the following:
systemBeam
systemTorpedo
systemTactical
systemTurning
systemImpulse
systemWarp
systemFrontShield
systemBackShield
|
|
|
value
|
0.0-1.0
|
|
0.0 is no damage, 1.0 is full damage.
|
countFrom
|
left, top, or front
|
|
|
index
|
0-100
|
|
You can't damage more systems than the ship has.
|
Note that while changes.txt states that a "player_slot" attribute was added to this command in 2.4, this is incorrect. As of 2.7 the "player_slot" attribute still does not work with this command.
Comments (0)
You don't have permission to comment on this page.