User Tools

Site Tools


prpl:setshipattribute

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

prpl:setshipattribute [2025/02/14 14:57] – created - external edit 127.0.0.1prpl:setshipattribute [2025/03/04 22:56] (current) Argonwolf
Line 1: Line 1:
 <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]] <- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]
  
-=====  SETSHIPATTRIBUTE  =====+=====  SetShipAttribute(shipID, attributeID, value)  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
 | | | [ - ] | | | | [ - ] |
- 
  
 === Description === === Description ===
 +
 +Sets attribute "attributeID" of ship "shipID" to value "value".
 +
 +Attribute Legend:
 +
 +0 = "ISENEMY"
 +1 = "HULLSIZE"
 +2 = "HULLBUILT"
 +3 = "CMCOST"
 +4 = "CMBUILTAMT"
 +5 = "ISCONNECTEDTOENERGYMINE"
 +6 = "ISDESTROYED"
 +7 = "COORDX"
 +8 = "COORDY"
 +9 = "PIXELCOORDX"
 +10 = "PIXELCOORDY"
 +11 = "ROTATION"
 +12 = "ROTATIONDEGREES"
 +13 = "HASAMP"
 +14 = "HULLWIDTH"
 +15 = "HULLHEIGHT"
 +16 = "ENERGY"
 +17 = "ENERGYCAP"
 +18 = "SETSHIPMODULESAMMO"
 +19 = "THRUSTMULTIPLIER"
  
 === Examples === === Examples ===
prpl/setshipattribute.1739545024.txt.gz · Last modified: 2025/02/14 14:57 by 127.0.0.1