function help list 1.0RC1

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: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Created by Betel, then cleaned by me.

(< ...)
(<= ...)
(> ...)
(>= ...)
(add x1 x2 ... xn) -> z
(and exp1 exp2 ... expn) -> True/Nil
(and exp1 exp2 ... expn) -> True/Nil
(append a b [...]) -> lists are concatenated
(apply ...)
(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
(atmAddEntry ...)
(atmAtomTable ...)
(atmDeleteEntry ...)
(atmList ...)
(atmLookup ...)
(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
(enum list itemVar exp)
(enum list condition itemVar exp)
(envHasAttribute environmentUNID attrib) -> True/Nil
(eq ...)
(errblock ...)
(eval ...)
(filter list var boolean-exp) -> filtered list
(find source target [keyIndex]) -> position of target in source (0-based)
(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 ...)
(isatom ...)
(iserror ...)
(isfunction ...)
(isint ...)
(item list index)
DEPRECATED
(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)
(itmGetAverageAppearing item) -> average number that appear randomly
(itmGetCategory item) -> item category
(itmGetCharges item) -> charges
(itmGetCount item)
(itmGetDamageType item) -> damage type
(itmGetData item attrib) -> data
(itmGetFrequency item) -> frequency
(itmGetGlobalData item attrib) -> data
(itmGetImageDesc item) -> imageDesc
(itmGetInstallCost item) -> cost
(itmGetLevel item) -> level
(itmGetMass item) -> mass of single item in Kg
(itmGetMaxAppearing item) -> max number that appear randomly
(itmGetName item flags)
(itmGetPrice item) -> price of a single item
(itmGetStaticData item attrib) -> data
(itmGetTypeData item)
(itmGetTypes criteria) -> list of itemUNIDs
(itmGetUNID item) -> itemUNID
(itmGetUseScreen item)
(itmHasAttribute item attrib) -> True/Nil
DEPRECATED: Use itmHasAttribute instead.
(itmHasReference item)
(itmIsDamaged item)
(itmIsEnhanced item) -> Nil or mods
(itmIsInstalled item)
(itmIsKnown item)
(itmMatches item criteria)
(itmSetCharges item charges) -> item
(itmSetCount item count) -> item
(itmSetDamaged item [True/Nil]) -> item
(itmSetData item attrib data [count]) -> item
(itmSetEnhanced item mods) -> item
(itmSetGlobalData item attrib data) -> True/Nil
(itmSetKnown {item | itemUNID})
(itmSetReference item)
(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 keyIndex) -> found entry
(loop condition exp)
(ls a b) -> True if a < b
(max x1 x2 ... xn) -> z
(min x1 x2 ... xn) -> z
(modulo x y) -> z
(modulo x y) -> z
(multiply x1 x2 ... xn) -> z
(not exp) -> True/Nil
(objAddBuyOrder obj criteria priceAdj) -> True/Nil
(objAddItem obj item [count])
(objAddOverlay obj overlayType [lifetime])\n(objAddOverlay obj overlayType pos rotation [lifetime]
(objAddRandomItems obj table count)
(objAddSellOrder obj criteria priceAdj) -> True/Nil
(objAddSubordinate obj subordinate) -> True/Nil
(objCanAttack obj) -> True/Nil
(objCanDetectTarget obj target) -> True/Nil
(objCharge obj amount) -> remaining balance
(objClearIdentified obj)
(objClearShowAsDestination obj)
(objCommunicate obj senderObj msg [obj] [data])
(objCredit obj amount) -> new balance
(objDamage obj weaponType objSource [posVector])
(objDepleteShields obj)
(objDestroy obj) -> True/Nil
(objEnumItems obj criteria itemVar exp)
(objFireEvent obj event) -> result of event
(objFireItemEvent obj item event) -> result of event
(objFixParalysis obj)
(objGateTo obj node entrypoint [effectID])
(objGetArmorDamage obj armorSegment) -> damage to armor segment
(objGetArmorName obj armorSegment) -> name of armor (e.g., 'forward', etc.)
(objGetArmorType obj armorSegment) -> CArmorClass *
(objGetBalance obj) -> 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
(objGetDestiny obj) -> 0-359
(objGetDistance obj destObj) -> distance in light-seconds
(objGetGlobalData obj attrib) -> data
(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
(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
(objGetSellPrice obj item) -> price
(objGetShieldLevel obj) -> 0-100 (or -1 for no shields)
(objGetSovereign obj) -> sovereignID
(objGetStaticData obj attrib) -> data
DEPRECATED: Use typGetStaticData instead.
(objGetTarget obj) -> obj
(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
(objIncItemCharges obj item [increment] [count]) -> itemStruct
(objIncOverlayData obj overlayID attrib [increment]) -> new value
(objIncVel obj velVector) -> velVector
(objIsAbandoned obj) -> True/Nil
(objIsDeviceSlotAvailable ship) -> True/Nil
(objIsDockedAt obj stationObj) -> True/Nil
(objIsEnemy obj target) -> True/Nil
(objIsIdentified obj) -> True/Nil
(objIsKnown obj)
(objIsShip obj) -> True/Nil
(objIsUnderAttack obj) -> True/Nil
(objJumpTo obj posVector)
(objLowerShields obj)
(objMakeParalyzed obj ticks)
(objMatches obj source filter) -> True/Nil
(objMoveTo obj posVector)
(objProgramDamage obj hacker progName aiLevel code)
(objRegisterForEvents target obj)
(objRegisterForSystemEvents target range)
(objRemoveItem obj item [count])
(objRemoveOverlay obj overlayID
(objRepairArmor ship armorSegment [hpToRepair])
(objResume obj)
(objSendMessage obj sender msg)
(objSetData obj attrib data)
(objSetGlobalData obj attrib data)
(objSetIdentified obj)
(objSetItemCharges obj item charges [count]) -> itemStruct
(objSetItemData obj item attrib data [count]) -> itemStruct
(objSetKnown obj)
(objSetName obj name [flags])
(objSetObjRefData obj attrib obj)
(objSetOverlayData obj overlayID attrib data)
(objSetOverlayRotation obj overlayID rotation)
(objSetPos obj vector)
(objSetShowAsDestination obj [show dist/bearing] [autoclear])
(objSetSovereign obj sovereignID) -> True/Nil
(objSetVel obj velVector)
(objSuspend obj)
(objUnregisterForEvents target obj)
(objUnregisterForSystemEvents target obj)
(or exp1 exp2 ... expn) -> True/Nil
(plyCharge ...)
(plyClearShowHelpRefuel ...)
(plyComposeString player string [arg1 arg2 ... argn]) -> string
(plyCredit ...)
(plyDestroyed ...)
(plyGetCredits ...)
(plyGetGenome player) -> 'humanMale | 'humanFemale
DEPRECATED: Use resurrection infrastructure instead.
(plyGetRedirectMessage ...)
DEPRECATED: Use resurrection infrastructure instead.
DEPRECATED: Use resurrection infrastructure instead.
(plyMessage ...)
(plyRedirectMessage ...)
(power x y) -> z
(random from to)\n(random list)
(rollDice count sides bonus)
(scrEnableAction ...)
(scrExitDock ...)
(scrGetCounter ...)
(scrGetInputText ...)
(scrGetItem ...)
DEPRECATED: Use scrGetItem instead
(scrGetListEntry ...)
(scrIsFirstOnInit ...)
DEPRECATED
(scrRemoveItem ...)
(scrSetActionLabel screen action label [key])
(scrSetCounter ...)
(scrSetDesc screen text [text...])
(scrSetDisplayText screen ID text [text...])
(scrSetInputText ...)
(scrSetListFilter ...)
(scrShowAction screen action shown)
(scrShowPane ...)
(scrShowScreen screenGlobal screen [pane])
(seededRandom seed from to)\n(seededRandom seed list)
(set ...)
(setq ...)
DEPRECATED: Use objAddOverlay instead
(shpCancelOrders ship)
(shpCanInstallArmor ship item) ->
(shpCanInstallDevice ship item) ->
(shpCanRemoveDevice ship item) ->
(shpConsumeFuel ship fuel)
(shpDamageArmor obj armorSegment damageType damage)
(shpDamageItem ship item)
(shpDecontaminate ship)
(shpEnhanceItem ship item [mods]) -> True/Nil
(shpEnhanceSRS ship)
(shpFixBlindness ship)
(shpGetArmor ship armorSegment) -> item struct
(shpGetArmorCount ship) -> number of armor segments
(shpGetArmorMaxHitPoints obj armorSegment) -> damage to armor segment
(shpGetClass ship) -> class UNID
(shpGetClassName class flags) -> class name
DEPRECATED: Use typGetDataField instead
(shpGetDirection ship) -> angle
(shpGetFuelLeft ship) -> fuel left
(shpGetFuelNeeed ship item) -> items needed
DEPRECATED: Use typGetGlobalData instead
(shpGetImageDesc class [rotationAngle]) -> imageDesc
DEPRECATED: Use itmGetCharges instead
(shpGetItemDeviceName ship item) -> device name of item (or -1)
(shpGetMaxSpeed ship) -> max speed in of lightspeed
(shpGetOrder obj) -> order
(objGetOrderTarget obj) -> obj
(shpGetShieldDamage ship) -> damage to shields
(shpGetShieldItemUNID ship) -> UNID (or Nil)
(shpGetShieldMaxHitPoints ship) -> max hp of shields
(shpInstallArmor ship item armorSegment)
(shpInstallAutopilot ship)
(shpInstallDevice ship item)
(shpInstallTargetingComputer ship)
(shpIsAutopilotInstalled ship)
(shpMakeBlind ship)
(shpIsFuelCompatible ship item) -> True/Nil
(shpIsRadiationImmune ship [item])
(shpIsRadioactive ship)
(shpIsSRSEnhanced ship)
(shpIsTargetingComputerInstalled ship)
(shpMakeBlind ship blindTime)
(shpMakeRadioactive ship)
(shpOrder ship order [target] [count]) -> True/Nil
(shpOrderAttack ship target) -> True/Nil
(shpOrderDock ship destination) -> True/Nil
(shpOrderEscort ship protect [formation]) -> True/Nil
(shpOrderFollow ship follow) -> True/Nil
(shpOrderGate ship [gate]) -> True/Nil
(shpOrderGoto ship obj) -> True/Nil
(shpOrderGuard ship base) -> True/Nil
(shpOrderHold ship [waitTime]) -> True/Nil
(shpOrderLoot ship station) -> True/Nil
(shpOrderMine ship base) -> True/Nil
(shpOrderPatrol ship center dist) -> True/Nil
(shpOrderWait ship waitTime)
(shpRechargeItem ship item charges)
(shpRechargeShield ship hpToRecharge)
(shpRefuelFromItem ship item) -> True/Nil
(shpRemoveDevice ship item) -> item
(shpRepairItem ship item)
(shpSetCommandCode ship code) -> True/Nil
(shpSetController ship controller) -> True/Nil
DEPRECATED: Use typSetGlobalData instead
(shpSetPlayerWingman ship [isWingman]) -> True/Nil
(shuffle list) -> shuffled 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
DEPRECATED: Use typGetGlobalData instead
(staGetImageVariant station) -> variant
(staGetMaxStructuralHP station) -> hp
(staGetStructuralHP station) -> hp
(staGetSubordinates station) -> list of subordinates (e.g., guardians)
(staGetType station) -> UNID
(staIsEncountered type) -> True/Nil
(staIsReconned station) -> True/Nil
(staSetActive station)
(staSetFireReconEvent station)
DEPRECATED: Use typSetGlobalData instead
(staSetImageVariant station variant)
(staSetInactive station)
(staSetShowMapLabel station True/Nil)
(staSetStructuralHP station hp)
(strCapitalize string) -> string
(strFind string target) -> pos of target in string (0-based)
(subset list pos [count]) -> list
(subst string arg1 arg2 ... argn) -> string
(subtract x y) -> z
(switch ...)
(switch ...)
(symAddEntry ...)
(symCreate ...)
(symDeleteEntry ...)
(symList ...)
(symLookup ...)
(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
(sysCalcTravelTime distance speed) -> time in ticks
(sysCancelTimerEvent obj event) -> True/Nil
(sysCreateEffect effectID anchor posVector)
(sysCreateMarker name pos sovereignID) -> marker
(sysCreateShip classID pos sovereignID [controller]) -> ship
(sysCreateShipwreck classID pos sovereignID) -> shipwreck
(sysCreateStargate classID posVector gateID destNodeID destGateID) -> stargate
(sysCreateStation classID posVector) -> station
(sysCreateWeaponFire weaponID objSource posVector dir speed objTarget [detonateNow]) -> obj
(sysFindObject source filter) -> list of objects
(sysGetData [nodeID] attrib) -> data
(sysGetEnvironment vector) -> environmentUNID
(sysGetLevel [nodeID]) -> level
(sysGetName [nodeID]) -> name
(sysGetNavPathPoint sovereignID objFrom objTo A7564243ath) -> vector
(sysGetNode) -> nodeID
(sysGetNodes) -> list of nodeIDs
(sysGetObjectByName source name) -> obj
(sysGetStargateDestinationNode [nodeID] gateID) -> nodeID
(sysGetStargates [nodeID]) -> list of gateIDs
(sysGetSystemType [nodeID]) -> systemUNID
(sysGlobals ...)
(sysHasAttribute [nodeID] attrib) -> True/Nil
(sysPoolUsage ...)
(sysSetData [nodeID] attrib data) -> data
(sysStopTime duration except)
(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
(sysVectorRandom center radius minSeparation [filter]) -> vector
(sysVectorSpeed vector) -> of light speed
(sysVectorSubtract vector vector) -> vector
(typFind criteria) -> list of UNIDs
(typFireObjEvent unid obj event) -> result of event
(typGetDataField unid field) -> data
(typGetGlobalData unid attrib) -> data
(typGetStaticData unid attrib) -> data
(typIncGlobalData unid attrib [increment]) -> new value
(typSetGlobalData unid attrib data) -> True/Nil
(unvGetRealDate) -> (year month day) GMT
(unvGetTick) -> time
(unvUNID string) -> (unid 'itemtype name) or (unid 'shipclass name)
(vecSetElement ...)
(vecVector ...)
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

extracted diffs from 0.99c

single lines with > means new function in 1.0RC1

lines separated by --- means changed function from 0.99c





> (cnvDrawImage x y imageDesc [screen] [ID])
> (cnvDrawRect x y width height color [screen] [ID])
> (cnvDrawText x y text font color alignment [screen] [ID])

< (find source target) -> position of target in source (0-based)
---
> (find source target [keyIndex]) -> position of target in source (0-based)

< (itmSetData item attrib data) -> item
---
> (itmSetData item attrib data [count]) -> item

> (lookup source target keyIndex) -> found entry

> (modulo x y) -> z

> (objAddBuyOrder obj criteria priceAdj) -> True/Nil

> (objAddOverlay obj overlayType [lifetime])\n(objAddOverlay obj overlayType pos rotation [lifetime]

> (objAddSellOrder obj criteria priceAdj) -> True/Nil

> (objCanDetectTarget obj target) -> True/Nil

> (objClearShowAsDestination obj)

> (objDamage obj weaponType objSource [posVector])

> (objFixParalysis obj)

> (objGetDataField obj field) -> data

< (objGetName obj flags) -> Name of the object
---
> (objGetName obj [flags]) -> Name of the object

> (objGetOverlayData obj overlayID attrib) -> data
> (objGetOverlayPos obj overlayID) -> vector
> (objGetOverlayRotation obj overlayID) -> rotation
> (objGetOverlays obj) -> list of overlayIDs
> (objGetOverlayType obj overlayID) -> type

< (objIncData obj attrib increment)
---
> (objIncData obj attrib [increment]) -> new value
> (objIncItemCharges obj item [increment] [count]) -> itemStruct
> (objIncOverlayData obj overlayID attrib [increment]) -> new value

> (objRegisterForSystemEvents target range)

> (objRemoveOverlay obj overlayID

> (objResume obj)

> (objSetItemCharges obj item charges [count]) -> itemStruct
> (objSetItemData obj item attrib data [count]) -> itemStruct

< (objSetName obj name)
---
> (objSetName obj name [flags])

> (objSetOverlayData obj overlayID attrib data)
> (objSetOverlayRotation obj overlayID rotation)
> (objSetPos obj vector)
> (objSetShowAsDestination obj [show dist/bearing] [autoclear])

> (objSetVel obj velVector)
> (objSuspend obj)

> (objUnregisterForSystemEvents target obj)

< (plyGetInsuranceClaims ...)
---
> DEPRECATED: Use resurrection infrastructure instead.

< (plyInsure ...)
< (plyIsInsured ...)
---
> DEPRECATED: Use resurrection infrastructure instead.
> DEPRECATED: Use resurrection infrastructure instead.

< (random from to)
< (random list)
---
> (random from to)\n(random list)

< (scrSetDesc ...)
< (scrSetDisplayText screen ID text)
---
> (scrSetDesc screen text [text...])
> (scrSetDisplayText screen ID text [text...])

< (scrShowScreen ...)
< (seededRandom seed from to)
< (seededRandom seed list)
---
> (scrShowScreen screenGlobal screen [pane])
> (seededRandom seed from to)\n(seededRandom seed list)

< (shpAddEnergyField ship fieldUNID lifetime)
---
> DEPRECATED: Use objAddOverlay instead

< (shpGetDataField class field) -> data
---
> DEPRECATED: Use typGetDataField instead

< (shpRemoveDevice ship item)
---
> (shpRemoveDevice ship item) -> item

> (shpSetPlayerWingman ship [isWingman]) -> True/Nil

> (sovGetDisposition sovereignID targetSovereignID) -> disposition of sovereign to target

> (staSetShowMapLabel station True/Nil)

< (strNumber ...)
---
> (subset list pos [count]) -> list

> (switch ...)

> (sysCreateShipwreck classID pos sovereignID) -> shipwreck

< (sysGetNavPathPoint sovereignID objFrom objTo 51BE0DBAath) -> vector
---
> (sysGetNavPathPoint sovereignID objFrom objTo A7564243ath) -> vector

> (typFind criteria) -> list of UNIDs
> (typFireObjEvent unid obj event) -> result of event
> (typGetDataField unid field) -> data

> (unvGetRealDate) -> (year month day) GMT

< (unvUNID string) -> ('itemtype unid name) or ('shipclass unid name)
---
> (unvUNID string) -> (unid 'itemtype name) or (unid 'shipclass name)
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

functions that are NOT on Xelerus:

0.99c Functions NOT on xelerus

(< ...)
(<= ...)
(> ...)
(>= ...)
(armGetHitPoints type) -> Hit points of armor
(atmAddEntry ...)
(atmAtomTable ...)
(atmDeleteEntry ...)
(atmList ...)
(atmLookup ...)
(gamSetCrawlImage imageUNID) -> True/Nil
(gamSetCrawlText text) -> True/Nil
(itmGetArmorType item)
(itmGetAverageAppearing item) -> average number that appear randomly
(itmGetImageDesc item) -> imageDesc
(itmGetTypes criteria) -> list of itemUNIDs
(itmHasAttribute item attrib) -> True/Nil
(itmSetCharges item charges) -> item
(itmSetCount item count) -> item
(itmSetData item attrib data) -> item
(link ...)
(objCanAttack obj) -> True/Nil
(objFireItemEvent obj item event) -> result of event
(objGetOpenDockingPortCount obj) -> count of open docking ports
(objIsIdentified obj) -> True/Nil
(objMatches obj source filter) -> True/Nil
(objProgramDamage obj hacker progName aiLevel code)
(objSetIdentified obj)
(scrGetListEntry ...)
(scrSetDisplayText screen ID text)
(scrShowAction screen action shown)
(shpGetClassName class flags) -> class name
(shpGetFuelNeeed ship item) -> items needed
(shpGetItemDeviceName ship item) -> device name of item (or -1)
(objGetOrderTarget obj) -> obj
(shpSetCommandCode ship code) -> True/Nil
(staGetMaxStructuralHP station) -> hp
(strNumber ...)
(symAddEntry ...)
(symCreate ...)
(symDeleteEntry ...)
(symList ...)
(symLookup ...)
(sysAddStargateTopology [nodeID] gateID destNodeID destGateID) -> True/Nil
(sysCalcTravelTime distance speed) -> time in ticks
(sysCreateStargate classID posVector gateID destNodeID destGateID) -> stargate
(sysGetNodes) -> list of nodeIDs
(sysGetStargateDestinationNode [nodeID] gateID) -> nodeID
(sysGetStargates [nodeID]) -> list of gateIDs
(sysGetSystemType [nodeID]) -> systemUNID
(sysHasAttribute [nodeID] attrib) -> True/Nil
(sysVectorSpeed vector) -> of light speed
(vecSetElement ...)
(vecVector ...)
--------------------------------------------------------
1.0RC1 Functions NOT on xelerus

(cnvDrawImage x y imageDesc [screen] [ID])
(cnvDrawRect x y width height color [screen] [ID])
(cnvDrawText x y text font color alignment [screen] [ID])
(lookup source target keyIndex) -> found entry
(modulo x y) -> z
(objAddBuyOrder obj criteria priceAdj) -> True/Nil
(objAddOverlay obj overlayType [lifetime])\n(objAddOverlay obj overlayType pos rotation [lifetime]
(objAddSellOrder obj criteria priceAdj) -> True/Nil
(objCanDetectTarget obj target) -> True/Nil
(objClearShowAsDestination obj)
(objDamage obj weaponType objSource [posVector])
(objFixParalysis obj)
(objGetDataField obj field) -> data
(objGetOverlayData obj overlayID attrib) -> data
(objGetOverlayPos obj overlayID) -> vector
(objGetOverlayRotation obj overlayID) -> rotation
(objGetOverlayType obj overlayID) -> type
(objGetOverlays obj) -> list of overlayIDs
(objIncItemCharges obj item [increment] [count]) -> itemStruct
(objIncOverlayData obj overlayID attrib [increment]) -> new value
(objRegisterForSystemEvents target range)
(objRemoveOverlay obj overlayID
(objResume obj)
(objSetItemCharges obj item charges [count]) -> itemStruct
(objSetItemData obj item attrib data [count]) -> itemStruct
(objSetOverlayData obj overlayID attrib data)
(objSetOverlayRotation obj overlayID rotation)
(objSetPos obj vector)
(objSetShowAsDestination obj [show dist/bearing] [autoclear])
(objSetVel obj velVector)
(objSuspend obj)
(objUnregisterForSystemEvents target obj)
(scrShowScreen ...)
(shpSetPlayerWingman ship [isWingman]) -> True/Nil
(sovGetDisposition sovereignID targetSovereignID) -> disposition of sovereign to target
(staSetShowMapLabel station True/Nil)
(subset list pos [count]) -> list
(switch ...)
(sysCreateShipwreck classID pos sovereignID) -> shipwreck
(typFind criteria) -> list of UNIDs
(typFireObjEvent unid obj event) -> result of event
(typGetDataField unid field) -> data
(unvGetRealDate) -> (year month day) GMT

---------------------------------------------------------
1.0RC2 functions NOT on xelerus

(objGetNamedItems obj name) -> list of items
User avatar
Betelgeuse
Fleet Officer
Fleet Officer
Posts: 1920
Joined: Sun Mar 05, 2006 6:31 am

while there are some there that aren't useful for the scripter I don't mind them being put on Xelerus except <,>,<=,>= as they don't work in the standard xml format (and I don't remember the syntax to make them work)

oh and awesome job Digdug 8)
Crying is not a proper retort!
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Yes, this is very good data. Thanks a lot DigDug
Post Reply