Function Index: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
== Functions ==
== Functions ==
=== AbortMission ===
'''Definition:''' AbortMission()<br>
'''Description:''' Abort the currently running mission.<br>
'''Arguments:''' -<br>
'''Returns:''' -<br>
<br>
=== Article ===
'''Definition:''' Article(string word)<br>
'''Description:''' prepends the apropriate article to the string '''word'''<br>
'''Arguments:''' '''word''' string to prepend an article to.<br>
'''Returns:''' string with an article prepended. <br>
'''Example''': Article("apple") -> "an apple"<br>
<br>
=== CanUseAddon ===
'''Definition:''' Article(string word)<br>
'''Description:''' prepends the apropriate article to the string '''word'''<br>
'''Arguments:''' '''word''' string to prepend an article to.<br>
'''Returns:''' string with an article prepended. <br>
'''Example''': Article("apple") -> "an apple"<br>
<br>


"GetStationSellableInventoryInfoByID"<br>
"GetStationSellableInventoryInfoByID"<br>

Revision as of 21:48, 26 June 2007

Functions

AbortMission

Definition: AbortMission()

Description: Abort the currently running mission.
Arguments: -
Returns: -

Article

Definition: Article(string word)

Description: prepends the apropriate article to the string word

Arguments: word string to prepend an article to.
Returns: string with an article prepended.

Example: Article("apple") -> "an apple"

CanUseAddon

Definition: Article(string word)

Description: prepends the apropriate article to the string word

Arguments: word string to prepend an article to.
Returns: string with an article prepended.

Example: Article("apple") -> "an apple"


"GetStationSellableInventoryInfoByID"
"GetStationShipList"
"GetStationTurretInfo"
"GetStorageLocationSector"
"GetSurveyChoices"
"GetSurveyQuestion"
"GetSystemID"
"GetTargetDistance"
"GetTargetFriendlyStatus"
"GetTargetInfo"
"GetTip"
"GiveMoney"
"HasLastShipLoadout"

IsConnected()

Returns: wheater you are connected to the game

"IsEnemy"
"IsStormPresent"

JettisonAll()

Jettisons the cargo in your hold.

JettisonMultiple

JettisonMultiple{int itemid = int count; ...}

Same as JettisonSingle() but takes a table of itemid and count pairs as argument

JettisonSingle

JettisonSingle(int itemid, int count)

Jettisons count units of the cargo itemid

Script: jettison junk


"JoinChannel"
"LeaveChannel"
"ListChannels"
"LoadCargo"
"LoadChannels"
"LoadNavpath"
"Login"
"Logout"
"PlayerInStation"
"PlayerInventoryIterator"
"PrintJoinUsage"
"PrintLeaveUsage"
"ProcessEvent"
"PurchaseMerchandiseItem"
"PurchaseShipLoadout"
"RegisterEvent"
"ReloadInterface"
"ReplenishAll"
"ReplenishWeapon"
"RequestCharacterStats"
"RequestLaunch"
"RequestMissionDetails"
"RequestMissionList"
"RequestNewsArticle"
"RequestTargetStats"
"SaveChannels"
"SaveNavpath"
"SaveShipLoadout"
"SelectActiveShip"
"SelectCharacter"
"SellInventoryItem"
"SendChat"
"SendMissionQuestionResponse"
"SetCurrentChatTab"
"SetHomeStation"
"SetShipPurchaseColor"
"ShortLocationStr"
"SubmitSurvey"
"TabCompleteName"
"UnloadCargo"
"UnloadSellCargo"
"UnregisterEvent"
"clearscene"
"debugprint"
"ipairs"
"loadscene"
"log_print"
"next"
"pairs"
"spickle"
"tonumber"
"tostring"
"type"
"unpack"
"unspickle"

Variables

"CLASSTYPE_ADDON": 2
"CLASSTYPE_FLAG": 3
"CLASSTYPE_GENERIC": 0
"CLASSTYPE_MISSION": 5
"CLASSTYPE_SHIP": 1
"CLASSTYPE_STORAGE": 4
"VO_VERSION": 3
"Platform": "Unix"

Tables

"Buddy"
"Duel"
"FactionName"
"FactionNameFull"
"FactionStanding"
"Game"
"Guild"
"Ignore"
"InvManager"
"Mentor"
"NavRoute"
"Skills"
"Timer"
"Vote"
"coroutine"
"gkini"
"gkinterface"
"gkmisc"
"gvector"
"iup"
"joystick"
"math"
"math3d"
"quaternion"
"radar"
"string"
"table"