objSetItemProperty and LinkedFire Options - Documentation

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

Finally figured out what the options for the linkedfire options are - here they all are so you dont have to go through all the sourcecode

reference code:

Code: Select all

(objSetItemProperty obj item property value [count]) -> item
property

   'charges charges
   'damaged [True|Nil]
   'disrupted [True|Nil|ticks]
   'enabled [True|Nil]
   'fireArc Nil|(min max)|'omnidirectional
   'hp hitPoints
   'incCharges charges
   'linkedFireOptions list-of-options
   'pos (angle radius [z])
   'secondary [True|Nil]

Code: Select all

#define LINKED_FIRE_ALWAYS CONSTLIT("always")
#define LINKED_FIRE_ENEMY CONSTLIT("whenInFireArc")
#define LINKED_FIRE_TARGET CONSTLIT("targetInRange")
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

its actually missing this data if you didnt notice (Specifically the valid strings for the linked fire options)
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

yay, great find ! I can add this to the function list :)
Post Reply