function list 1.08d

This is a moderated forum that collects tutorials, guides, and references for creating Transcendence extensions and scripts.
Post Reply
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2612
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Sat Jul 14, 2012 10:48 pm

RECENTLY ADDED/CHANGED FUNCTIONS IN 1.08-1.08d

(itmGetProperty item property) -> value

property

'charges
'damaged
'disrupted

(itmGetTypeData item attrib) -> data
changed, was deprecated, now resurrected ?

(itmSetProperty item property value) -> item

property

'charges charges
'damaged [True|Nil]
'disrupted [True|Nil|ticks]
'incCharges charges

(itmSetTypeData item attrib data) -> True/Nil
(objGetArmorCriticality obj item|armorSegment) -> criticalityType

(objGetArmorDamage obj item|armorSegment) -> damage to armor segment
(objGetArmorName obj item|armorSegment) -> name of armor (e.g., 'forward', etc.)
changed, they accept item or armorSegment instead of just armorSegment

(objGetDeviceLinkedFireOptions obj deviceItem) -> list of options
(objGetFitCount ...)
(objGetProperty obj property) -> value

property

'selectedLauncher
'selectedMissile
'selectedWeapon

(objGetTypeData obj attrib) -> data

(objRepairArmor ship item|armorSegment [hpToRepair]) -> hp repaired
changed, it accepts item or armorSegment instead of just armorSegment

(objSetDeviceLinkedFireOptions obj deviceItem options) -> True/Nil
Nil = unlink, 'always = always fire, 'whenInFireArc = only in range.
(objSetItemProperty obj item property value [count]) -> item

property

'charges charges
'damaged [True|Nil]
'disrupted [True|Nil|ticks]
'incCharges charges

(objSetProperty obj property value) -> True/Nil

property

'selectedMissile type|item
'selectedWeapon type|item

(objSetTypeData obj attrib data)
(scrGetDesc screen)

(shpGetArmorMaxHitPoints obj item|armorSegment) -> damage to armor segment
changed, it accepts item or armorSegment instead of just armorSegment

(typGetData unid attrib) -> data
(typIncData unid attrib [increment]) -> new value
(typMarkImages unid) -> True/Nil
(typSetData unid attrib data) -> True/Nil



==========================================================================
##########################################################################
==========================================================================
FUNCTION LIST 1.08d



(< ...)
(<= ...)
(> ...)
(>= ...)
(abs x) -> z
(add x1 x2 ... xn) -> z
(and exp1 exp2 ... expn) -> True/Nil
(append a b [...]) -> lists are concatenated
(apply exp arg1 arg2 ... argn list) -> Result
(armGetHitPoints type) -> Hit points of armor
(armGetName type) -> Name of the armor
(armGetRepairCost type) -> Cost to repair 1 hit point
(armGetRepairTech type) -> Tech level required to repair
(armIsRadiationImmune type) -> True/Nil
(block ...)
(cat s1 s2 ... sn) -> string
(cnvDrawImage x y imageDesc [screen] [ID])
(cnvDrawRect x y width height color [screen] [ID])
(cnvDrawText x y text font color alignment [screen] [ID])
(count list) -> number of items
(dbgLog string [string]*)
(dbgOutput string [string]*)
(divide x y) -> z
(ecoExchange amount fromCurrency toCurrency) -> amount
(enum list itemVar exp)
(enumwhile list condition itemVar exp)
(eq ...)
(errblock ...)
(error msg) -> error
(eval ...)
(filter list var boolean-exp) -> filtered list
(find source target ['ascending|'descending] [keyIndex]) -> position of target in source (0-based)
(fmtCurrency currency [amount]) -> string
(fmtNoun name nameFlags count formatFlags) -> string
(fncHelp ...)
(for var from to exp)
(gamSetCrawlImage imageUNID) -> True/Nil
(gamSetCrawlText text) -> True/Nil
(geq a b) -> True if a >= b
(gr a b) -> True if a > b
(if ...)
(int ...)
(objTranslate obj textID [default]) -> text (or Nil)
(isatom ...)
(iserror ...)
(isfunction ...)
(isint ...)
(isprimitive ...)
(item list index)
(itmCreate itemUNID count) -> item
(itmCreateByName criteria name [count]) -> item
(itmCreateRandom criteria levelDistribution) -> item
(itmEnumTypes criteria item-var exp)
(itmGetActualPrice item) -> actual price of a single item
(itmGetArmorInstalledLocation item) -> segment #
(itmGetArmorType item) -> type
(itmGetAverageAppearing item) -> average number that appear randomly
(itmGetCategory item) -> item category
(itmGetCount item)
(itmGetDamageType item) -> damage type
(itmGetData item attrib) -> data
(itmGetDefaultCurrency item|type) -> currency
(itmGetFrequency item|type [level]) -> frequency
(itmGetImageDesc item) -> imageDesc
(itmGetInstallCost item [currency]) -> cost
(itmGetInstallPos item) -> installPos
(itmGetLevel item) -> level
(itmGetMass item) -> mass of single item in Kg
(itmGetMaxAppearing item) -> max number that appear randomly
(itmGetName item flags)
(itmGetPrice item [currency]) -> price of a single item
(itmGetProperty item property) -> value

property

'charges
'damaged
'disrupted

(itmGetStaticData item attrib) -> data
(itmGetType item) -> itemUNID
(itmGetTypeData item attrib) -> data
(itmGetTypes criteria) -> list of itemUNIDs
(itmGetUseScreen item)
(itmHasAttribute item attrib) -> True/Nil
(itmHasReference item)
(itmIsEnhanced item) -> Nil or mods
(itmIsInstalled item)
(itmIsKnown item)
(itmMatches item criteria)
(itmSetCount item count) -> item
(itmSetData item attrib data [count]) -> item
(itmSetEnhanced item mods) -> item
(itmSetKnown type|item [True/Nil])
(itmSetProperty item property value) -> item

property

'charges charges
'damaged [True|Nil]
'disrupted [True|Nil|ticks]
'incCharges charges

(itmSetReference item)
(itmSetTypeData item attrib data) -> True/Nil
(lambda ...)
(leq a b) -> True if a <= b
(link ...)
(list i1 i2 ... in) -> list
(lnkAppend list item) -> list
(lnkRemove list index) -> list
(lnkRemoveNil list) -> list
(lnkReplace list index item) -> list
(lookup source target ['ascending|'descending] [keyIndex]) -> found entry
(loop condition exp)
(ls a b) -> True if a < b
(map list ['excludeNil|'original|'reduceMax|'reduceMin] var exp) -> list
(match list var boolean-exp) -> first item that matches
(mathProbTableLookup ...)
(max x1 x2 ... xn) -> z
(min x1 x2 ... xn) -> z
(modulo ['degrees] x y) -> z
(multiply x1 x2 ... xn) -> z
(not exp) -> True/Nil
(objAccelerate obj angle thrust [ticks]) -> velVector
(objAddBuyOrder obj criteria priceAdj) -> True/Nil
(objAddItem obj item [count])
(objAddItemByValue ...)
(objAddItemEnhancement obj item enhancementType [lifetime]) -> enhancementID
(objAddOverlay obj overlayType [lifetime]) -> overlayID
(objAddOverlay obj overlayType pos rotation [lifetime]) -> overlayID
(objAddRandomItems obj table count)
(objAddSellOrder obj criteria priceAdj) -> True/Nil
(objAddSubordinate obj subordinate) -> True/Nil
(objCanAttack obj) -> True/Nil
(objCanDetectTarget obj target) -> True/Nil
(objChangeEquipmentStatus obj equipment command [duration] [options]) -> True/Nil

equipment

'Autopilot
'GalacticMap
'LRS
'SRS
'SRSEnhancer
'SystemMap
'TargetingComputer

command

'damage
'install
'remove
'repair

duration is in ticks

options

'noMessage

(objCharge obj [currency] amount) -> remaining balance
(objClearIdentified obj)
(objClearShowAsDestination obj)
(objCommunicate obj senderObj msg [obj] [data])
(objCredit obj [currency] amount) -> new balance
(objDamage obj weaponType objSource [pos])
(objDepleteShields obj)
(objDestroy obj [objSource]) -> True/Nil
(objEnumItems obj criteria itemVar exp)
(objFireEvent obj event) -> result of event
(objFireItemEvent obj item event) -> result of event
(objFireOverlayEvent obj overlayID event) -> result of event
(objFixParalysis obj)
(objGateTo obj node entrypoint [effectID])
(objGetArmorCriticality obj item|armorSegment) -> criticalityType
(objGetArmorDamage obj item|armorSegment) -> damage to armor segment
(objGetArmorLevel obj item|armorSegment) -> 0-100
(objGetArmorName obj item|armorSegment) -> name of armor (e.g., 'forward', etc.)
(objGetArmorType obj item|armorSegment) -> type
(objGetBalance obj [currency]) -> balance
(objGetBuyPrice obj item) -> price
(objGetCargoSpaceLeft obj) -> space left in Kg
(objGetCombatPower obj) -> 0-100
(objGetDamageType obj) -> damage type
(objGetData obj attrib) -> data
(objGetDataField obj field) -> data
(objGetDefaultCurrency obj) -> currency
(objGetDestiny obj) -> 0-359
(objGetDeviceFireArc obj deviceItem) -> (minArc maxArc)
(objGetDeviceLinkedFireOptions obj deviceItem) -> list of options
(objGetDevicePos obj deviceItem) -> (angle radius [z])
(objGetDisposition obj targetObj) -> disposition of obj towards targetObj
(objGetDistance obj destObj) -> distance in light-seconds
(objGetEquipmentStatus obj equipment) -> status

equipment

'Autopilot
'GalacticMap
'LRS
'SRS
'SRSEnhancer
'SystemMap
'TargetingComputer

status

'damaged
'notInstalled
'ready

(objGetEventHandler obj) -> unid or Nil
(objGetFitCount ...)
(objGetID obj) -> objID
(objGetImageDesc obj) -> imageDesc
(objGetInstalledItemDesc obj item) -> 'installed as forward armor'
(objGetItems obj criteria) -> list of items
(objGetLevel obj) -> level
(objGetMass obj) -> mass in tons
(objGetMaxPower obj) -> power (in 1/10 MWs)
(objGetName obj [flags]) -> Name of the object
(objGetNamedItems obj name) -> list of items
(objGetNearestStargate obj) -> obj
(objGetObjByID objID) -> obj
(objGetObjRefData obj attrib) -> obj
(objGetOpenDockingPortCount obj) -> count of open docking ports
(objGetOrderGiver obj [destroyReason]) -> obj
(objGetOverlayData obj overlayID attrib) -> data
(objGetOverlayPos obj overlayID) -> vector
(objGetOverlayRotation obj overlayID) -> rotation
(objGetOverlays obj) -> list of overlayIDs
(objGetOverlayType obj overlayID) -> type
(objGetPos obj) -> vector
(objGetProperty obj property) -> value

property

'selectedLauncher
'selectedMissile
'selectedWeapon

(objGetSellPrice obj item) -> price
(objGetShieldLevel obj) -> 0-100 (or -1 for no shields)
(objGetShipwreckType obj) -> unid
(objGetSovereign obj) -> sovereignID
(objGetStargateID obj) -> gateID
(objGetStaticData obj attrib) -> data
(objGetTarget obj) -> obj
(objGetType obj) -> unid
(objGetTypeData obj attrib) -> data
(objGetVel obj) -> velVector
(objGetVisibleDamage obj) -> damage
(objHasAttribute obj attrib) -> True/Nil
(objHasItem obj item [count]) -> number of items (or Nil)
(objIncData obj attrib [increment]) -> new value
(objIncOverlayData obj overlayID attrib [increment]) -> new value
(objIncVel obj velVector) -> velVector
(objIsAbandoned obj) -> True/Nil
(objIsAngryAt obj targetObj) -> True/Nil
(objIsDeviceEnabled obj deviceItem) -> True/Nil
(objIsDeviceSlotAvailable ship) -> True/Nil
(objIsDockedAt obj stationObj) -> True/Nil
(objIsEnemy obj target) -> True/Nil
(objIsIdentified obj) -> True/Nil
(objIsKnown obj)
(objIsParalyzed obj)
(objIsRadioactive obj)
(objIsShip obj) -> True/Nil
(objIsUnderAttack obj) -> True/Nil
(objJumpTo obj pos)
(objLowerShields obj)
(objMakeParalyzed obj ticks)
(objMatches obj source filter) -> True/Nil
(objProgramDamage obj hacker progName aiLevel code)
(objRegisterForEvents target obj)
(objRegisterForSystemEvents target range)
(objRemoveItem obj item [count])
(objRemoveItemEnhancement obj item enhancementID)
(objRemoveOverlay obj overlayID)
(objRepairArmor ship item|armorSegment [hpToRepair]) -> hp repaired
(objResume obj [gateObj])
(objSendMessage obj sender msg)
(objSetData obj attrib data)
(objSetDeviceActivationDelay obj deviceItem [delay]) -> True/Nil
(objSetDeviceFireArc obj deviceItem minFireArc maxFireArc) -> True/Nil
(objSetDeviceFireArc obj deviceItem (minFireArc maxFireArc)) -> True/Nil
(objSetDeviceFireArc obj deviceItem 'omnidirectional) -> True/Nil
(objSetDeviceFireArc obj deviceItem nil) -> True/Nil
(objSetDeviceLinkedFireOptions obj deviceItem options) -> True/Nil
(objSetDevicePos obj deviceItem angle radius [z]) -> True/Nil
(objSetDevicePos obj deviceItem (angle radius [z])) -> True/Nil
(objSetEventHandler obj unid) -> True/Nil
(objSetIdentified obj)
(objSetItemData obj item attrib data [count]) -> item
(objSetItemProperty obj item property value [count]) -> item

property

'charges charges
'damaged [True|Nil]
'disrupted [True|Nil|ticks]
'incCharges charges

(objSetKnown obj)
(objSetName obj name [flags])
(objSetObjRefData obj attrib obj)
(objSetOverlayData obj overlayID attrib data)
(objSetOverlayPos obj overlayID pos)
(objSetOverlayRotation obj overlayID rotation)
(objSetPos obj vector)
(objSetProperty obj property value) -> True/Nil

property

'selectedMissile type|item
'selectedWeapon type|item

(objSetShowAsDestination obj [show dist/bearing] [autoclear])
(objSetSovereign obj sovereignID) -> True/Nil
(objSetTradeDesc obj currency [maxCurrency replenishCurrency]) -> True/Nil
(objSetTypeData obj attrib data)
(objSetVel obj velVector)
(objSuspend obj)
(objTranslate obj textID [default]) -> text (or Nil)
(objTranslateX ...)
(objUnregisterForEvents target obj)
(objUnregisterForSystemEvents target)
(or exp1 exp2 ... expn) -> True/Nil
(plyChangeShip player newShip) -> True/Nil
(plyCharge player [currency] charge) -> credits left
(plyComposeString player string [arg1 arg2 ... argn]) -> string
(plyCredit player [currency] credit) -> credits left
(plyDestroyed ...)
(plyEnableMessage player messageID True/Nil) -> True/Nil
(plyGetCredits player [currency]) -> credits left
(plyGetGenome player) -> 'humanMale | 'humanFemale
(plyGetItemStat player stat criteria) -> value
(plyGetKeyEventStat player stat nodeID typeCriteria) -> value
(plyGetRedirectMessage ...)
(plyGetStat player stat) -> value
(plyMessage ...)
(plyRecordBuyItem player item [currency] totalPrice)
(plyRecordSellItem player item [currency] totalPrice)
(plyRedirectMessage ...)
(power x y) -> z
(quote exp) -> unevaluated exp
(random from to)
(random list)
(randomTable chance1 exp1 chance2 exp2 ... chancen expn) -> exp
(regex source pattern ['offset|'subex]) -> result
(resCreateImageDesc imageUNID x y width height) -> imageDesc
(rollDice count sides bonus)
(scrAddAction screen actionID pos label [key] [special] code)
(scrEnableAction screen actionID enabled)
(scrExitScreen screen ['forceUndock])
(scrGetCounter ...)
(scrGetDesc screen)
(scrGetInputText ...)
(scrGetItem ...)
(scrGetListEntry ...)
(scrIsFirstOnInit ...)
(scrRemoveItem ...)
(scrSetActionLabel screen actionID label [key] [special])
(scrSetCounter ...)
(scrSetDesc screen text [text...])
(scrSetDisplayText screen ID text [text...])
(scrSetInputText ...)
(scrSetListFilter ...)
(scrShowAction screen actionID shown)
(scrShowBuyScreen ...)
(scrShowPane ...)
(scrShowScreen screenGlobal screen [pane])
(scrShowSellScreen ...)
(seededRandom seed from to)
(seededRandom seed list)
(set ...)
(setItem list|struct index value) -> value
(setq ...)
(shpCancelOrders ship)
(shpCanInstallArmor ship item) -> result
(shpCanInstallDevice ship item) -> result
(shpCanRemoveDevice ship item) -> result
(shpConsumeFuel ship fuel)
(shpDamageArmor ship armorSegment damageType damage ['noSRSFlash]) -> damage done
(shpDecontaminate ship)
(shpEnhanceItem ship item [mods]) -> True/Nil
(shpGetAISetting ship setting)
(shpGetArmor ship armorSegment) -> item struct
(shpGetArmorCount ship) -> number of armor segments
(shpGetArmorMaxHitPoints obj item|armorSegment) -> damage to armor segment
(shpGetClassName class flags) -> class name
(shpGetDirection ship) -> angle
(shpGetDockObj ship) -> dockObj
(shpGetFuelLeft ship) -> fuel left
(shpGetFuelNeeded ship item) -> items needed
(shpGetImageDesc class [rotationAngle]) -> imageDesc
(shpGetItemDeviceName ship item) -> device name of item (or -1)
(shpGetMaxSpeed ship) -> max speed in of lightspeed
(shpGetOrder obj) -> order
(shpGetOrderDesc obj) -> orderDesc
(shpGetOrderTarget obj) -> obj
(shpGetShieldDamage ship) -> damage to shields
(shpGetShieldItemUNID ship) -> UNID (or Nil)
(shpGetShieldMaxHitPoints ship) -> max hp of shields
(shpInstallArmor ship item armorSegment)
(shpInstallDevice ship item)
(shpIsBlind ship)
(shpIsFuelCompatible ship item) -> True/Nil
(shpIsRadiationImmune ship [item])
(shpMakeRadioactive ship)
(shpOrder ship order [target] [count]) -> True/Nil
(shpOrderImmediate ship order [target] [count]) -> True/Nil
(shpRechargeShield ship hpToRecharge)
(shpRefuelFromItem ship item) -> True/Nil
(shpRemoveDevice ship item) -> item
(shpRepairItem ship item)
(shpSetAISetting ship setting value)
(shpSetCommandCode ship code) -> True/Nil
(shpSetController ship controller) -> True/Nil
(shpSetPlayerWingman ship [isWingman]) -> True/Nil
(shuffle list) -> shuffled list
(sort list ['ascending|'descending] [keyIndex]) -> sorted list
(sovGetDisposition sovereignID targetSovereignID) -> disposition of sovereign to target
(sovSetDisposition sovereignID targetSovereignID disposition)
(sqrt x) -> z
(staClearFireReconEvent station)
(staClearReconned station)
(staGetDockedShips station) -> list of docked ships
(staGetImageVariant station) -> variant
(staGetMaxStructuralHP station) -> hp
(staGetStructuralHP station) -> hp
(staGetSubordinates station) -> list of subordinates (e.g., guardians)
(staIsEncountered type) -> True/Nil
(staIsReconned station) -> True/Nil
(staSetActive station [True/Nil])
(staSetFireReconEvent station)
(staSetImageVariant station variant)
(staSetShowMapLabel station True/Nil)
(staSetStructuralHP station hp)
(strCapitalize string) -> string
(strFind string target) -> pos of target in string (0-based)
(strMassString ...)
(subset list pos [count]) -> list
(subst string arg1 arg2 ... argn) -> string
(subtract x y) -> z
(switch ...)
(sysAddEncounterEvent delay target encounterID gate)
(sysAddEncounterEventAtDist delay target encounterID distance)
(sysAddObjRecurringTimerEvent interval obj event)
(sysAddObjTimerEvent delay obj event)
(sysAddStargateTopology [nodeID] gateID destNodeID destGateID) -> True/Nil
(sysAddTypeRecurringTimerEvent interval type event)
(sysAddTypeTimerEvent delay type event)
(sysCalcFireSolution targetPos targetVel speed) -> angle to shoot (Nil, if no solution)
(sysCalcTravelDistance speed time) -> distance in light-seconds
(sysCalcTravelTime distance speed) -> time in ticks
(sysCancelTimerEvent obj event) -> True/Nil
(sysCancelTypeTimerEvent type event) -> True/Nil
(sysCreateEffect effectID anchorObj pos [rotation]) -> True/Nil
(sysCreateEncounter unid) -> True/Nil
(sysCreateMarker name pos sovereignID) -> marker
(sysCreateShip unid pos sovereignID [controller]) -> ship
(sysCreateShipwreck unid pos sovereignID) -> shipwreck
(sysCreateStargate unid pos gateID [destNodeID destGateID]) -> obj
(sysCreateStation unid pos) -> obj
(sysCreateWeaponFire weaponID objSource pos dir speed objTarget [detonateNow] [bonus]) -> obj
(sysFindObject source filter) -> list of objects
(sysGetData [nodeID] attrib) -> data
(sysGetEnvironment vector) -> environmentUNID
(sysGetLevel [nodeID]) -> level
(sysGetName [nodeID]) -> name
(sysGetNavPathPoint sovereignID objFrom objTo ath) -> vector
(sysGetNode) -> nodeID
(sysGetNodes) -> list of nodeIDs
(sysGetObjectByName [source] name) -> obj
(sysGetRandomOreType ...)
(sysGetStargateDestinationNode [nodeID] gateID) -> nodeID
(sysGetStargates [nodeID]) -> list of gateIDs
(sysGetSystemType [nodeID]) -> systemUNID
(sysGetTopologyDistance fromID toID) -> distance (or Nil)
(sysGlobals ...)
(sysHasAttribute [nodeID] attrib) -> True/Nil
(sysIsKNown [nodeID]) -> True/Nil
(sysPlaySound unid [sourceObj]) -> True/Nil
(sysPoolUsage ...)
(sysSetData [nodeID] attrib data) -> data
(sysSetKNown [nodeID] [True/Nil]) -> True/Nil
(sysStartTime) -> True/Nil
(sysStopTime duration except) -> True/Nil
(sysStopTime targetList duration) -> True/Nil
(sysTicks ...)
(sysVectorAdd vector vector) -> vector
(sysVectorAngle vector) -> angle of vector
(sysVectorDistance vector [vector]) -> distance in light-seconds
(sysVectorDivide vector scalar) -> vector
(sysVectorMultiply vector scalar) -> vector
(sysVectorPolarOffset center angle radius) -> vector
(sysVectorPolarVelocity angle speed) -> velVector
(sysVectorRandom center radius minSeparation [filter]) -> vector
(sysVectorSpeed velVector) -> of light speed
(sysVectorSubtract vector vector) -> vector
(typCreate unid XML) -> True/Nil
(typDynamicUNID uniqueName) -> UNID
(typFind criteria) -> list of UNIDs
(typFireObjEvent unid obj event) -> result of event
(typGetData unid attrib) -> data
(typGetDataField unid field) -> data
(typGetStaticData unid attrib) -> data
(typHasAttribute unid attrib) -> True/Nil
(typIncData unid attrib [increment]) -> new value
(typMarkImages unid) -> True/Nil
(typSetData unid attrib data) -> True/Nil
(uiCanPlayMusic filename) -> True/Nil
(uiGetMusicCatalog) -> list of files
(uiGetMusicState) -> ('playing filename position length)
(uiPlayMusic filename [pos]) -> True/Nil
(uiStopMusic)
(unvGetCurrentExtensionUNID) -> UNID
(unvGetExtensionData scope attrib) -> data
(unvGetRealDate) -> (year month day) GMT
(unvGetTick) -> time
(unvSetExtensionData scope attrib data) -> True/Nil

scope

'local
'serviceExtension
'serviceUser

(unvUNID string) -> (unid 'itemtype name) or (unid 'shipclass name)

(vecSetElement ...)
(vecVector ...)




-------------------------------------------------------------------------
#########################################################################
-------------------------------------------------------------------------
DEPRECATED FUNCTIONS AND BROKEN FUNCTIONS

(atmAddEntry ...)
(atmAtomTable ...)
(atmDeleteEntry ...)
(atmList ...)
(atmLookup ...)
envHasAttribute DEPRECATED: Use typHasAttribute instead
itmAtCursor DEPRECATED
itmGetCharges DEPRECATED: Use (itmGetProperty item 'charges) instead.
itmGetGlobalData DEPRECATED: Use itmGetTypeData instead. (MAYBE George meant typGetData or itmGetStaticData or itmGetTypeData has been resurrected ???)
itmGetUNID DEPRECATED: Use itmGetType instead
itmHasModifier DEPRECATED: Use itmHasAttribute instead.
itmSetCharges DEPRECATED: Use (itmSetProperty item 'charges ...) instead
itmSetDamaged DEPRECATED: Use (itmSetProperty item 'damaged ...) instead
itmSetGlobalData DEPRECATED: Use itmSetTypeData instead.
objGetGlobalData DEPRECATED: Use objGetTypeData instead.
objGetStaticDataForStationType DEPRECATED: Use typGetStaticData instead.
objIncItemCharges DEPRECATED: Use (objSetItemProperty obj item 'incCharges ...) instead
objMoveTo DEPRECATED: Use objSetPos instead
objSetGlobalData DEPRECATED: Use objSetTypeData instead.
objSetItemCharges DEPRECATED: Use (objSetItemProperty obj item 'charges ...) instead
plyClearShowHelpRefuel DEPRECATED: Use (plyEnableMessage player 'refuelHint Nil) instead
plyGetInsuranceClaims DEPRECATED: Use resurrection infrastructure instead.
plyInsure DEPRECATED: Use resurrection infrastructure instead.
plyIsInsured DEPRECATED: Use resurrection infrastructure instead.
scrExitDock DEPRECATED: Use scrExitScreen instead.
scrGetItemListCursor DEPRECATED: Use scrGetItem instead
scrRefreshItemListCursor: DEPRECATED
shpAddEnergyField DEPRECATED: Use objAddOverlay instead
shpDamageItem DEPRECATED: Use (objSetItemProperty obj item 'damaged ...) instead
shpEnhanceSRS DEPRECATED: Use objChangeEquipmentStatus instead
shpFixBlindness DEPRECATED: Use objChangeEquipmentStatus instead
shpGetClass DEPRECATED: Use objGetType instead
shpGetDataField DEPRECATED: Use typGetDataField instead
shpGetGlobalData DEPRECATED: Use typGetData instead
shpGetItemCharges DEPRECATED: Use itmSetProperty instead
shpInstallAutopilot DEPRECATED: Use objChangeEquipmentStatus instead
shpInstallTargetingComputer DEPRECATED: Use objChangeEquipmentStatus instead
shpIsAutopilotInstalled DEPRECATED: Use objGetEquipmentStatus instead
shpIsRadioactive DEPRECATED: Use objIsRadioactive instead
shpIsSRSEnhanced DEPRECATED: Use objGetEquipmentStatus instead
shpIsTargetingComputerInstalled DEPRECATED: Use objGetEquipmentStatus instead
shpMakeBlind DEPRECATED: Use objChangeEquipmentStatus instead
shpOrderAttack DEPRECATED: Use (shpOrder ship 'attack target) instead
shpOrderDock DEPRECATED: Use (shpOrder ship 'dock target) instead
shpOrderEscort DEPRECATED: Use (shpOrder ship 'escort obj [formation]) instead
shpOrderFollow DEPRECATED: Use (shpOrder ship 'follow target) instead
shpOrderGate DEPRECATED: Use (shpOrder ship 'gate [gate]) instead
shpOrderGoto DEPRECATED: Use (shpOrder ship 'goto obj) instead
shpOrderGuard DEPRECATED: Use (shpOrder ship 'guard target) instead
shpOrderHold DEPRECATED: Use (shpOrder ship 'hold [time]) instead
shpOrderLoot DEPRECATED: Use (shpOrder ship 'loot obj) instead
shpOrderMine DEPRECATED: Use (shpOrder ship 'mine baseObj) instead
shpOrderPatrol DEPRECATED: Use (shpOrder ship 'patrol baseObj dist) instead
shpOrderWait DEPRECATED: Use (shpOrder ship 'wait [time]) instead
shpRechargeItem DEPRECATED: Use (objSetItemProperty obj item 'incCharges ...) instead
shpSetGlobalData DEPRECATED: Use typSetData instead
staGetGlobalData DEPRECATED: Use typGetData instead
staGetType DEPRECATED: Use objGetType instead
staSetGlobalData DEPRECATED: Use typSetData instead
staSetInactive DEPRECATED: Use staSetActive instead
typGetGlobalData DEPRECATED: Use typGetData instead.
typIncGlobalData DEPRECATED: Use typIncData instead.
typSetGlobalData DEPRECATED: Use typSetData instead.

------------------------------------------------------------------------
#########################################################################
------------------------------------------------------------------------
DEPRECATED GLOBALS AND EVENTS

intShowContractDeliveryScreen
OnTranslateMessage

------------------------------------------------------------------------
#########################################################################
------------------------------------------------------------------------
Vanilla Global functions

(arcQuestionHandler ...)
(bamComputeArmorLevel ...)
(bamComputeOpponentList ...)
(bamComputePrize ...)
(bamComputeReputation ...)
(bamComputeShieldLevel ...)
(bamComputeSkill ...)
(bamComputeWeaponLevel ...)
(bamCreateGladiator ...)
(bamCreateGladiatorBySkill ...)
(bamCreateMeleeOpponents ...)
(bamDoorsClose ...)
(bamDoorsOpen ...)
(chrCancelRaiderOrders ...)
(chrComputeAmbushPos ...)
(chrCreateRaider ...)
(chrDeployFrigateRaid ...)
(chrDeployKronosaurus ...)
(chrGetPrimaryStronghold ...)
(chrOrderRaiders ...)
(chrRaidTransport ...)
(comSealedContainerHack ...)
(comShowBuyScreen ...)
(comShowSellScreen ...)
(comTrafficControl ...)
(cscSquadronCreateShip ...)
(cscSquadronDeployShip ...)
(domGainXP ...)
(domGetLevel ...)
(domGetTimeRequired ...)
(domInitRelationship ...)
(domInvokePower ...)
(domShowPower ...)
(fltOrderCheckPosition ...)
(herAttackInProgress ...)
(herStatus ...)
(herStatusClear ...)
(herStatusSet ...)
(huaCheckExperience ...)
(huaHuariDestroyed ...)
(huaIsGateToHuaramarca ...)
(huaSungDestroyed ...)
(intAmmoBoxOpen ...)
(intArmorEnhanceStatus ...)
(intArmorRepairAll ...)
(intAsteroidOnMining ...)
(intAutoInstall ...)
(intBarricadeUse ...)
(intBlackMarketBuyPrice ...)
(intBlackMarketOnDestroy ...)
(intBlackMarketPromotion ...)
(intBlackMarketSellPrice ...)
(intBushidoArmorEnhancement ...)
(intBushidoShieldEnhancement ...)
(intBushidoWeaponEnhancement ...)
(intBuyItems ...)
(intCalcExplosionType ...)
(intCommonwealthCrime ...)
(intCommonwealthOnDestroy ...)
(intCommonwealthOnInit ...)
(intComputeBuyPrice ...)
(intComputeRandomEncounterCourse ...)
(intComputeRandomEncounterPos ...)
(intComputeRandomEncounterPosEx ...)
(intComputeSellPrice ...)
(intConsumeItem ...)
(intContainerGetExplosionType ...)
(intContainerOnDamage ...)
(intCorporateCrime ...)
(intCorporateGenerateEnhancement ...)
(intCorporateOnDestroy ...)
(intCorporateOnInit ...)
(intDestroyItems ...)
(intEnhanceWeaponUse ...)
(intFieldCrystalInstall ...)
(intFieldCrystalUse ...)
(intFleetCreateWingmen ...)
(intFleetCrime ...)
(intFleetDisperseWingmen ...)
(intFleetPromotion ...)
(intGetGateToSystem ...)
(intGetGlobalAchievements ...)
(intHPEnhancement1 ...)
(intHPEnhancement2 ...)
(intHPEnhancement3 ...)
(intInstallAfterPurchase ...)
(intInstallDevicePrep ...)
(intInstallDevicePrepEx ...)
(intIsGateToSystem ...)
(intItemEnhanceStatus ...)
(intJettisonItem ...)
(intLootAllItems ...)
(intMakayevArmorEnhancement ...)
(intMakayevWeaponEnhancement ...)
(intMassString ...)
(intMissionAchievementString ...)
(intMissionRewardPayment ...)
(intRandomMessage ...)
(intRasiermesserArmorEnhancement ...)
(intRasiermesserWeaponEnhancement ...)
(intRingerBuyMargin ...)
(intRingerCrime ...)
(intRingerInstallDevicePrep ...)
(intRingerOnDestroy ...)
(intRingerOnInit ...)
(intRingerSellMargin ...)
(intRoundDown ...)
(intRoundUp ...)
(intSellItems ...)
(intSetCompatibleFuel ...)
(intSetCompatibleFuelEx ...)
(intTaikonBuyMargin ...)
(intTeratonBuyMargin ...)
(intTeratonGetLevelCurve ...)
(intTeratonGetValue ...)
(intTeratonMugging ...)
(intTeratonSellMargin ...)
(intZoanthropeOnObjDestroyed ...)
(intZoanthropeOnOrderChanged ...)
(korComputePlayerLevel ...)
(korEmptyFreighter ...)
(korEscortRecord ...)
(korFillFreighter ...)
(korFrigateDestroyed ...)
(korInitialize ...)
(korMissionFailure ...)
(korMissionStrongholdSuccess ...)
(korMissionSuccess ...)
(korMsgWelcome ...)
(korOnShipDestroyed ...)
(milCanEnterCC ...)
(milInit ...)
(milMissionSuccess ...)
(milShowPromotionScreen ...)
(mneAllTargetsDestroyed ...)
(mradDisplay ...)
(neuConsumeCharge ...)
(neuGetCharges ...)
(srvFindRepairArmor ...)
(stkDistanceToStK ...)
(stkFreshFoodPrice ...)
(stkFreshFoodStatus ...)
(stkFreshFoodUpdate ...)
(strNumber ...)
(sunAttackTarget ...)
(sunOrderWing ...)
(terCreateDefender ...)
(useRepairArmor ...)

------------------------------------------------------------------------
#########################################################################
------------------------------------------------------------------------
Vanilla Global gVariables and aVariables, temporary and hardcoded (probably not a complete list)

aCount
gScreen
aArmorDamageHP
aArmorSeg
aAttacker
aBaseObj
aBestEnemiesDestroyed
aBestEnemiesDestroyed
aCargoValue
aCause
aCharges
aDamageHP
aDamageType
aDestObj
aDestroyReason
aDestroyer
aDeviceItem
aDockTarget
aEndGameReason
aEnemiesDestroyed
aEvent
aFireAngle
aGateObj
aHP
aHitDir
aHitPos
aItemToRepair
aJumpPos
aMineDir
aMinePos
aMineProbability
aNearestObj
aObj
aObjAttacked
aObjDestroyed
aObjDocked
aOrderGiver
aOriginObj
aOriginalArmorDamageHP
aOriginalShieldDamageHP
aOverlayID
aPathPoint
aPrevObj
aResult
aShieldDamageHP
aShieldHP
aShieldReflect
aStation
aSystemsVisited
aTargetObj
aWeaponBonus
aWeaponFragment
aWeaponType
aWingmanPlayer
aWreckObj
gAmmo
gArmorSegment
gBonus
gBuyCriteria
gCanInstall
gCanRepair
gCheckMilitaryID
gCost
gCount
gCriteria
gCursor
gDesc
gDest
gDestination
gEnd
gItem
gLevel
gList
gMargin
gMatch
gMaxCount
gMaxPrice
gMission
gMissionAcceptText
gMissionDeclineText
gMissionListName
gMissionNoneText
gMissionTitle
gName
gPaid
gPlayer
gPlayership
gPrevPane2
gPrevPane
gPrevScreen2
gPrevScreen
gResult
gReward
gSelect
gSender
gShowCriteria
gSlaver
gSource
gStart
gState
gTarget
gTechLevel
gTechModifier
gTitle
gTrans
gTransport

ronelm2000
Miner
Miner
Posts: 41
Joined: Mon Mar 19, 2012 1:14 am

Wed Jul 18, 2012 1:59 pm

I don't know if this is good or bad but I find this page more useful than the xelerus functions page (I use it for the specifics) :/

User avatar
Hatsuya Kanzaki
Militia Lieutenant
Militia Lieutenant
Posts: 145
Joined: Wed May 13, 2009 6:10 pm
Location: leading an armada of Realians driving sword-shaped gunships and WearGears

Fri Jul 20, 2012 7:36 pm

Sir George, can you give us an implementation example of the linked weapons (even w/o PSD5+)?

User avatar
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?

Sat Jul 21, 2012 2:34 am

I'll update Xelerus when I'm done with Star Network economy.
>.>
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.

Post Reply