LuaState question [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

LuaState question [Solved]

Post by jedimoose32 »

Hi everyone.

I've done a very small amount of Lua coding before. For my current mod project I'll need to do a fair amount. Before I dive into it, I'd like to clarify one thing that I've wondered about for a while.

In the Lua Callback Reference list HERE, there's a whole list of functions that the game accepts. I understand how to use a lot of them but there's one way of using certain ones that I've seen a lot that I really don't get. Here's an example from the teleport sample code (not Zerted's):

Code: Select all

function MoveEntityToNode(entIn,pathIn,nodeIn)
Just to be clear, I'm not trying to make a teleporter - I only used that example because it was one of the first I could find. My understanding is that MoveEntityToNode allows the Lua code to access information that is inside of the C code the game engine is using, and that entIn, pathIn, and nodeIn are variables. What I don't understand is how I/we know the names of those variables, and in what order they need to be called. Here's another example, something I was helping JazzMaster with:

Code: Select all

onvehkill = OnObjectKill(
        function(object, killer)
            if IsCharacterHuman(killer) and GetEntityClass(object) == GetEntityClassPtr("imp_hover_speederbike") then
				counted_points = counted_points + 1
            end
        end)
How do we know that these variables are called object and killer, and how do we know that they aren't supposed to be called in the reverse order (i.e. function(killer, object))?

Thanks in advance. I know there's probably an obvious answer I'm missing.
Last edited by jedimoose32 on Thu Mar 05, 2015 1:07 pm, edited 1 time in total.
User avatar
GAB
1st Lieutenant
1st Lieutenant
Posts: 431
Joined: Sun Jul 03, 2011 8:56 pm
Location: Somewhere around the world
Contact:

Re: LuaState question

Post by GAB »

jedimoose32 wrote:My understanding is that MoveEntityToNode allows the Lua code to access information that is inside of the C code the game engine is using, and that entIn, pathIn, and nodeIn are variables. What I don't understand is how I/we know the names of those variables, and in what order they need to be called.
I think those names are mere placeholders to describe the nature of the value that goes there. Their order was figured out by trial and error I'd guess.
jedimoose32 wrote:

Code: Select all

onvehkill = OnObjectKill(
        function(object, killer)
            if IsCharacterHuman(killer) and GetEntityClass(object) == GetEntityClassPtr("imp_hover_speederbike") then
            counted_points = counted_points + 1
            end
        end)
How do we know that these variables are called object and killer, and how do we know that they aren't supposed to be called in the reverse order (i.e. function(killer, object))?
The document battlefront2_scripting_system shows what the names and orders are for a bunch of functions. I believe that's where we learned these orders and names. You should probably read it if your going to go into scripting.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: LuaState question

Post by jedimoose32 »

You're right, that doc is pretty helpful. Thanks!

I can't believe I fell victim to the classic "didn't check the documentation first" blunder... :oops:
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: LuaState question [Solved]

Post by [RDH]Zerted »

The parameter/argument/variable names mean nothing. You can name them anything and it'll still work as long as you're consistent. It's the positions that matter. First parameter, second parameter, etc... It's a very common mistake people make when new to programming.

As for determining what they are, you read it in the documentation or look how the retail code uses the functions. If there are no example, then it can be very difficult to figure out how to use them. I think there are examples for almost every function. But developers normally follow a convention. Such as all the Set/Get functions behaving in a similar way and all Is**** functions are boolean checks that return true or false. You can use hints like that to guess at their parameters. You could also use a hex editor and try to locate where the function is defined within the exe.

Here's an almost complete listing of all available ingame functions:
Hidden/Spoiler:
[code]abs
AcceptHero
acos
ActivateBonus
ActivateObject
ActivateObjective
ActivateRegion
AddAIGoal
AddAssaultDestroyPoints
AddBleedThreshold
AddCameraShot
AddCommandPost
AddDeathRegion
AddFlagCapturePoints
AddHint
AddHorizontalButtons
AddIFBorder
AddIFImage
AddIFModel
AddIFObjContainer
AddIFObjectBase
AddIFScreen
AddIFText
AddLandingRegion
AddMissionHint
AddMissionObjective
AddPCTitleText
AddReinforcements
AddShieldStrength
AddSpaceAssaultDestroyPoints
AddTeamPoints
AddToDisplayableList
AddUnitClass
AddVerticalButtons
AddVerticalOptions
AddVerticalText
AddWalkerType
AICanCaptureCP
AISnipeSuitabilityDist
_ALERT
AllowAISpawn
AnimationMgr_AddAnimation
AnimationMgr_ClearAnimations
AnimationMgr_Update
ApplySettings
ApplySettingsToForm
asin
assert
atan
atan2
AttachEffectToMatrix
AttachEffectToObject
AudioStreamAppendSegments
AudioStreamComplete
AwardStats_Listbox_CreateItem
AwardStats_Listbox_PopulateItem
BatchChangeTeams
BeginScreenTransition
BlockPlanningGraphArcs
BorderRect_fnSetTexture
BorderRectSkin_fnHilight
BorderRectSkin_fnSetSize
BroadcastVoiceOver
byte
callback
callback2
CanCharacterInteractWithFlag
CareerStats_Medalbox_CreateItem
CareerStats_Medalbox_PopulateItem
CareerStats_Statbox_CreateItem
CareerStats_Statbox_PopulateItem
ceil
char
ClearAIGoals
ClearTempHeap
ClearWalkers
CloseAudioStream
collectgarbage
Complete
CompleteObjective
concat
cos
create
CreateEffect
CreateEntity
CreateFn
CreateMatrix
createObj
CreatePopupInC
CreateTimer
CreateUserEvent
DeactivateObject
DeactivateRegion
debug
deg
DeleteAIGoal
DeleteEntity
DestroyTimer
DisableAIAutoBalance
DisableBarriers
DisableSmallMapMiniMap
dofile
DoPostDelete
DrawBeamBetween
DrawParticleAt
dump
EnableAIAutoBalance
EnableBarriers
EnableBuildingLockOn
EnableFlyerPath
EnableSPHeroRules
EnableSPScriptedHeroes
Enter
EnterVehicle
EntityFlyerInitAsFlying
EntityFlyerInitAsLanded
EntityFlyerLand
EntityFlyerTakeOff
error
Exit
ExitVehicle
exp
Extreme Points
Fakeconsole_Listbox_CreateItem
Fakeconsole_Listbox_PopulateItem
ff_AddCommand
ff_AskUser
ff_changeAIDamageThreshold
ff_CommandAddJetPacks
ff_CommandCrazyEnduranceRegen
ff_CommandDenyCPCapture
ff_CommandExtremePoints
ff_CommandNoAIUnitDamage
ff_CommandRemoveAwardEffects
ff_CommandSlowHealthRegen
ff_CommandSuperHighFlying
ff_CommandSuperJump
ff_CommandUnlimitedReinforcements
ff_CommandUnlimitedTeamPoints
ff_healthRegen
ff_localizeCommand
ff_serverClearFCCmd
ff_serverDidFCCmd
ff_serverDoesCrash
ff_serverDoesNotCrash
FillAsteroidPath
FillAsteroidRegion
find
FindEntityClass
FindTimer
FlashObj_fnHilight
floor
fnActivate
fnChanged
fnDefaultActivate
fnIsActive
fnPCMainTabs_Minimize
fnPCMainTabs_Multi
fnPCMainTabs_PopUpQuit
fnPCMainTabs_Profile
fnPCMainTabs_Quit
fnPCMainTabs_Single
fnPostError
fnPostMissingController
fnSetSize
fnSetTitle
FollowButtonLink
ForceAIOutOfVehicles
ForceHumansOntoTeam1
foreach
foreachi
format
Form_ClampValue
Form_CloseDropboxes
Form_CreateVertical
Form_Enter
Form_Exit
Form_GeneralDown
Form_GeneralLeft
Form_GeneralRight
Form_GeneralUp
Form_GetMouseOverTag
Form_InputAccept
Form_InputBack
Form_ListBox_CreateItem
Form_ListBox_PopulateItem
Form_SetValues
Form_ShowHideElements
Form_Update
Form_UpdateAllElements
Form_UpdateElement
frexp
GameOptionsTimeLimitUp
gButtonWindow_fnActivate
gButtonWindow_fnSetSize
gButtonWindow_fnSetText
gButtonWindow_fnSetTexture
gButtonWindowSkin_fnActivate
gButtonWindowSkin_fnSetSize
gButtonWindowSkin_fnSetTexture
gcinfo
gDefault_Input_GeneralDown
gDefault_Input_GeneralDown2
gDefault_Input_GeneralLeft
gDefault_Input_GeneralLeft2
gDefault_Input_GeneralRight
gDefault_Input_GeneralRight2
gDefault_Input_GeneralUp
gDefault_Input_GeneralUp2
GetBleedRate
GetCharacterClass
GetCharacterControllable
GetCharacterRemote
GetCharacterTeam
GetCharacterUnit
GetCharacterVehicle
GetCommandPostBleedValue
GetCommandPostCaptureRegion
GetCommandPostTeam
GetEffectMatrix
GetEntityClass
GetEntityClassName
GetEntityClassPtr
GetEntityMatrix
GetEntityName
GetEntityPtr
getfenv
GetFlagCarrier
GetGameTimeLimit
gethook
getinfo
getlocal
GetMapCameraPosition
GetMapCameraZoom
GetMaxMultisamplingModeForScreenSize
GetMaxScreenSizeForMultisamplingMode
getmetatable
GetMultisamplingModeDescription
getn
GetNumMultisamplingQualityModes
GetNumTeamMembersAlive
GetObjectHealth
GetObjectLastHitWeaponClass
GetObjectPtr
GetObjectShield
GetObjectTeam
GetOpposingTeam
GetPathPoint
GetRegion
GetRegionName
GetReinforcementCount
GetScreenPosition
GetTeamClassCount
GetTeamFactionId
GetTeamMember
GetTeamPoints
GetTeamSize
GetTimerName
GetTimerRate
GetTimerValue
GetUnitCount
getupvalue
GetWorldFilename
GetWorldPosition
gfind
gHandleMouse
gHelptext_fnMoveIcon
gIFShellScreenTemplate2_fnEnter
gIFShellScreenTemplate2_fnLeave
gIFShellScreenTemplate2_fnReactivate
gIFShellScreenTemplate2_fnUpdate
gIFShellScreenTemplate_CommonUpdate
gIFShellScreenTemplate_fnCenterClickableButton
gIFShellScreenTemplate_fnEnter
gIFShellScreenTemplate_fnHandleMouse
gIFShellScreenTemplate_fnInput_Back
gIFShellScreenTemplate_fnLeave
gIFShellScreenTemplate_fnMoveClickableButton
gIFShellScreenTemplate_fnReactivate
gIFShellScreenTemplate_fnUpdate
gPCControlsFlyerTabFn
gPCControlsJediTabFn
gPCControlsSoldierTabFn
gPCControlsTurretTabFn
gPCControlsVehicleTabFn
gPopup_AB_fnActivate
gPopup_AB_fnInput_Accept
gPopup_Busy_fnActivate
gPopup_Busy_fnInput_Accept
gPopup_Error_fnActivate
gPopup_Error_fnInput_Accept
gPopup_fnActivate
gPopup_fnInput_Back
gPopup_fnIsActive
gPopup_fnReactivate
gPopup_fnSetTitle_Internal
gPopup_fnSetTitleStr
gPopup_fnSetTitleUStr
gPopup_LoadSave2_fnActivate
gPopup_LoadSave2_fnInput_Accept
gPopup_LoadSave2_fnInput_Back
gPopup_LoadSave2_fnInput_GeneralDown
gPopup_LoadSave2_fnInput_GeneralUp
gPopup_Loadsave2_fnSetTitleStr
gPopup_LobbyOpts_fnActivate
gPopup_LobbyOpts_fnInput_Accept
gPopup_LobbyOpts_fnInput_Left
gPopup_LobbyOpts_fnInput_Right
gPopup_LobbyOpts_fnResize
gPopup_LobbyOpts_fnUpdate
gPopup_LobbyOpts_fnUpdateVoiceButtons
gPopup_LobbyOpts_fnVoiceApply
gPopup_LobbyOpts_fnVoiceReceivePresetValidate
gPopup_LobbyOpts_fnVoiceSendPresetValidate
gPopup_LobbyOpts_fnVoiceUpdate
gPopup_Ok_fnActivate
gPopup_Ok_fnInput_Accept
gPopup_Prompt_fnActivate
gPopup_Prompt_fnInput_Accept
gPopup_Prompt_fnInput_GeneralDown
gPopup_Prompt_fnInput_GeneralUp
gPopup_Vote_fnActivate
gPopup_Vote_fnInput_Accept
gPopup_Vote_fnInput_GeneralLeft
gPopup_Vote_fnInput_GeneralRight
gPopup_Vote_fnUpdateButton
gPopup_YesNo_fnActivate
gPopup_YesNo_fnInput_Accept
gPopup_YesNo_fnInput_GeneralDown
gPopup_YesNo_fnInput_GeneralUp
GSFriends_Listbox_CreateItem
GSFriends_Listbox_PopulateItem
gShellScreen_fnDefaultInputAccept
gShellScreen_fnDefaultInputDown
gShellScreen_fnDefaultInputUp
gsub
HandleMouse
HandleMouse_Button
HandleMouse_ButtonWindow
HandleMouse_Editbox
HandleMouse_HSlider
HandleMouse_Image
HandleMouse_Listbox
HandleMouse_Model
HandleMouseRecurse
HandleMouse_Text
HidePCTitleText
HSlider_fnSetAlpha
HSlider_MoveThumb
IFBorder_fnSetTexture
IFBorder_fnSetTexturePos
IFBorder_fnSetUVs
IFButton_fnHilight
IFButton_fnSelect
IFButton_fnSetSize
IFEditbox_fnAddChar
IFEditbox_fnBounceCursor
IFEditbox_fnGetString
IFEditbox_fnHilight
IFEditbox_fnMoveCursor
IFEditbox_fnSetFont
IFEditbox_fnSetScale
IFEditbox_fnSetString
IFEditbox_fnSetUString
ifelem_AddRadioButtonGroup
ifelem_CheckRadioButtonRowInputAccept
ifelem_CheckRadioButtonRowMouseOver
ifelem_CreateRadioButtonGroup
ifelem_GetRadioButtonMouseOverTag
ifelem_GetSelectedRadioButton
ifelem_HandleRadioButtonInputAccept
ifelem_SelectRadioButton
ifelem_shellscreen_fnAddBackground
ifelem_shellscreen_fnPostControllerError
ifelem_shellscreen_fnPostError
ifelem_shellscreen_fnStartMovie
ifelem_shellscreen_fnStopMovie
ifelem_tabmanager_Create
ifelem_tabmanager_DoCreateTabs
ifelem_tabmanager_HandleInputAccept
ifelem_tabmanager_SelectTabGroup
ifelem_tabmanager_SetDimmed
ifelem_tabmanager_SetPos
ifelem_tabmanager_SetSelected
ifelem_tabmanager_SetVisable
ifelm_shellscreen_fnPlaySound
IFFlashyText_DoRandomFlashiness
IFFlashyText_FlashElementNum
IFFlashyText_fnSetTextColor
IFFlashyText_fnSetup
IFFlashyText_StartFlashiness
IFImage_fnSetTexture
IFImage_fnSetTexturePos
IFImage_fnSetUVs
IFModel_fnAttachModel
IFModel_fnSetDepth
IFModel_fnSetMsh
IFModel_fnSetOmegaY
IFModel_fnSetRotation
IFModel_fnSetScale
IFModel_fnSetTranslation
IFObj_fnCreateHotspot
IFObj_fnGetVis
IFObj_fnIsMouseOver
IFObj_fnSetAlpha
IFObj_fnSetColor
IFObj_fnSetPos
IFObj_fnSetVis
IFObj_fnSetZPos
IFObj_fnTestHotSpot
IFObj_UpdateBlinkyAnim
ifs_awardstats_fnBlankContents
ifs_awardstats_seticonstartside
ifs_careerstats_fnBlankContents
ifs_careerstats_fnFlipLeftRight
ifs_careerstats_fnGetLevelStr
ifs_careerstats_fnGetRankStr
ifs_careerstats_fnSetRankStr
ifs_careerstats_fnShrinkToFit
ifs_careerstats_fnUpdateMedalSelection
ifs_careerstats_fnValidateMedalCursor
ifs_careerstats_fnValidateMedalCursorPos
ifs_DimTabsPCDemo
ifs_movietrans_PushScreen
ifs_mpgs_fnStartJoin
ifs_mpgs_friends_fnAskedJoin
ifs_mpgs_friends_fnAskedNever
ifs_mpgs_friends_fnAskedRemove
ifs_mpgs_friends_fnIsAcceptable
ifs_mpgs_friends_fnKeyboardDone
ifs_mpgs_friends_fnPCShowHideButton
ifs_mpgs_friends_fnShowListbox
ifs_mpgs_joinpopup_fnCheckDone
ifs_mpgs_joinpopup_fnOnCancel
ifs_mpgs_joinpopup_fnOnFail
ifs_mpgs_joinpopup_fnOnSuccess
ifs_mp_lobby_CalcCanBoot
ifs_mp_lobby_CalcCanForceBoot
ifs_mp_lobby_DoPopupVootBoot
ifs_mp_lobby_DoTestCanBoot
ifs_mp_lobby_fnLeavePopupDone
ifs_mp_lobby_fnLobbyOptionsPopupDone
ifs_mp_lobby_fnShowExtraButtons
ifs_mp_lobby_fnShowHideItems
ifs_mp_lobby_IsBandwidthVisible
ifs_mplobby_leavepopup_fnCheckDone
ifs_mplobby_leavepopup_fnOnCancel
ifs_mplobby_leavepopup_fnOnFail
ifs_mplobby_leavepopup_fnOnSuccess
ifs_mp_lobby_Listbox_CreateItem
ifs_mp_lobby_Listbox_DisplayVoiceIcon
ifs_mp_lobby_Listbox_PopulateItem
ifs_mp_lobby_SetHilight
ifs_mp_lobby_UpdateBandwidth
ifs_mp_opt_fnBadHostPopupDone
ifs_opt_general_fnApplySettings
ifs_opt_general_fnBoolToSelValue
ifs_opt_general_fnUpdateStrings
ifs_opt_general_SaveProfileCancel
ifs_opt_general_SaveProfileSuccess
ifs_opt_general_ShowHideButtons
ifs_opt_general_StartSaveProfile
ifs_opt_mp_fnCheckGamespyString
ifs_opt_mp_fnLoginInfoLooksOk
ifs_opt_mp_fnUpdateForm
ifs_opt_mp_SaveAndPop
ifs_opt_mp_SaveProfile1Cancel
ifs_opt_mp_SaveProfile1Success
ifs_opt_mp_SaveProfileCancel
ifs_opt_mp_SaveProfileSuccess
ifs_opt_mp_StartSaveProfile
ifs_opt_pccontrols_fnChangeDeadZone
ifs_opt_pccontrols_fnChangeJoySensitivity
ifs_opt_pccontrols_fnChangeMouseSensitivity
ifs_opt_pccontrols_fnInvertCB
ifs_opt_pccontrols_fnTurnAssistCB
ifs_opt_pccontrols_fnUpdateStrings
ifs_opt_pccontrols_SaveProfileCancel
ifs_opt_pccontrols_SaveProfileSuccess
ifs_opt_pccontrols_StartSaveProfile
ifs_opt_pckeyboard_Listbox_CreateItem
ifs_opt_pckeyboard_Listbox_PopulateItem
ifs_opt_pcvideo_SaveProfileCancel
ifs_opt_pcvideo_SaveProfileSuccess
ifs_opt_pcvideo_StartSaveProfile
ifs_opt_sound_closeShellSound
ifs_opt_sound_fnAddOutputMode
ifs_opt_sound_fnAskedResetDone
ifs_opt_sound_fnBassMangChangedCB
ifs_opt_sound_fnClickModeButtons
ifs_opt_sound_fnEffectsChangedCB
ifs_opt_sound_fnIsASlider
ifs_opt_sound_fnLeft
ifs_opt_sound_fnRight
ifs_opt_sound_fnShowDropbox
ifs_opt_sound_fnShowMixerDropbox
ifs_opt_sound_fnUpdateButtons
ifs_opt_sound_fnUpdateRadios
ifs_opt_sound_fnUpdateSliders
ifs_opt_sound_getBarSize
ifs_opt_sound_restoreShellSound
ifs_opt_sound_SaveProfileCancel
ifs_opt_sound_SaveProfileSuccess
ifs_opt_sound_StartSaveProfile
ifs_opt_sound_updateLogo
ifs_opt_top_SaveProfileCancel
ifs_opt_top_SaveProfileSuccess
ifs_opt_top_StartSaveProfile
ifs_pausemenu_fnDoExit
ifs_pausemenu_fnEnter
ifs_pausemenu_fnExitPopupDone
ifs_pausemenu_fnGetActiveInstance
ifs_pausemenu_fnInput_Accept
ifs_pausemenu_fnJustExit
ifs_pausemenu_fnQuitPopupDone
ifs_pausemenu_fnRestartPopupDone
ifs_pausemenu_fnSaveDirtyAcceptQuit
ifs_pausemenu_fnSaveProfileCancel
ifs_pausemenu_fnSetPieceVis
ifs_pausemenu_fnSuicidePopupDone
ifs_pausemenu_fnUpdate
ifs_pausemenu_fnUpdateFreecamText
ifs_PCMainTabsSaveDirtyAcceptQuit
ifs_pc_spawnselect_animateicons
ifs_PCTabfnQuitPopupDone
ifs_personalstats_fnBlankContents
ifs_personalstats_fnFillInListboxMedals
ifs_personalstats_fnGetMedalName
ifs_personalstats_fnSetUpListboxMedals
ifs_saveop_CampaignOverwritePromptDone
ifs_saveop_Cancel
ifs_saveop_DeleteCampaignDone
ifs_saveop_DeleteMetagameDone
ifs_saveop_DeleteProfileDone
ifs_saveop_DeletePromptDone
ifs_saveop_DoOps
ifs_saveop_InitialMemcardCheckDone
ifs_saveop_LoadCampaignDone
ifs_saveop_LoadFileListDone
ifs_saveop_LoadMetagameDone
ifs_saveop_LoadProfileDone
ifs_saveop_MetagameOverwritePromptDone
ifs_saveop_PreOpDone
ifs_saveop_ProfileOverwritePromptDone
ifs_saveop_SaveCampaignDone
ifs_saveop_SaveMetagameDone
ifs_saveop_SaveProfileDone
ifs_saveop_SavePromptAccept
ifs_saveop_StartDeleteCampaign
ifs_saveop_StartDeleteMetagame
ifs_saveop_StartDeleteProfile
ifs_saveop_StartInitialMemcardCheck
ifs_saveop_StartLoadCampaign
ifs_saveop_StartLoadFileList
ifs_saveop_StartLoadMetagame
ifs_saveop_StartLoadProfile
ifs_saveop_StartPreOp
ifs_saveop_StartPromptCampaignOverwrite
ifs_saveop_StartPromptDelete
ifs_saveop_StartPromptMetagameOverwrite
ifs_saveop_StartPromptProfileOverwrite
ifs_saveop_StartPromptSave
ifs_saveop_StartSaveCampaign
ifs_saveop_StartSaveMetagame
ifs_saveop_StartSaveProfile
ifs_saveop_Success
ifs_sideselect_fnEnter
ifs_teamstats_fnBlankContents
ifs_teamstats_fnFillContents
ifs_teamstats_fnFlipLeftRight
ifs_teamstats_fnNav
ifs_teamstats_fnUpdateTeamSelection
ifs_teamstats_fnValidateCursor
IFText_fnGetDisplayRect
IFText_fnGetExtent
IFText_fnSetFont
IFText_fnSetLeading
IFText_fnSetScale
IFText_fnSetString
IFText_fnSetStyle
IFText_fnSetTextBox
IFText_fnSetTextBreak
IFText_fnSetUString
ifutil_mouse_fnListSortCB
Input_Accept
Input_Back
Input_GeneralDown
Input_GeneralDown2
Input_GeneralLeft
Input_GeneralLeft2
Input_GeneralRight
Input_GeneralRight2
Input_GeneralUp
Input_GeneralUp2
Input_KeyDown
Input_LTrigger
Input_Misc
Input_RTrigger
Input_Start
insert
ipairs
IsCampaign
IsCharacterHuman
IsCharacterInRegion
IsEffectActive
IsMultisamplingModeForcedFromDriver
IsMultisamplingModeSupported
IsObjectAlive
IsVideoModeSupported
KillObject
ldexp
Leave
len
ListManager_fnAutoscroll
ListManager_fnFillContents
ListManager_fnGetFocus
ListManager_fnHilight
ListManager_fnInitList
ListManager_fnMoveCursor
ListManager_fnNavDown
ListManager_fnNavUp
ListManager_fnPageDown
ListManager_fnPageUp
ListManager_fnScrollbarClick
ListManager_fnScrollDown
ListManager_fnScrollUp
ListManager_fnSetFocus
loadfile
loadstring
log
log10
lower
MapAddClassMarker
MapAddEntityMarker
MapAddRegionMarker
MapHideCommandPosts
MapRemoveClassMarker
MapRemoveEntityMarker
MapRemoveRegionMarker
max
min
MissionDefeat
MissionVictory
mod
ModeList_CreateItem
ModeList_PopulateItem
MoveCameraToEntity
New
NewBorderRect
NewButtonWindow
NewClickableIFButton
NewEditbox
NewFlatIFButton
NewHelptext
NewHSlider
NewIFBorder
NewIFButton
NewIFContainer
NewIFImage
NewIFModel
NewIFObj
NewIFShellScreen
NewIFShellScreen2
NewIFShellScreen_common
NewIFText
NewIFTitleBar
NewPCDropDownButton
NewPCIF_Basic_Button
NewPCIFButton
NewPopup
newproxy
NewRoundIFButton
NewSegmentLine
next
OnAbortCapture
OnAbortCaptureName
OnAbortCaptureTeam
OnAbortNeutralize
OnAbortNeutralizeName
OnAbortNeutralizeTeam
OnBeginCapture
OnBeginCaptureName
OnBeginCaptureTeam
OnBeginNeutralize
OnBeginNeutralizeName
OnBeginNeutralizeTeam
OnCapture
OnCharacterChangeClass
OnCharacterChangeClassClass
OnCharacterChangeClassName
OnCharacterChangeClassTeam
OnCharacterDeath
OnCharacterDeathClass
OnCharacterDeathName
OnCharacterDeathTeam
OnCharacterDispenseControllable
OnCharacterDispenseControllableClass
OnCharacterDispenseControllableName
OnCharacterDispenseControllableTeam
OnCharacterDispensePowerup
OnCharacterDispensePowerupClass
OnCharacterDispensePowerupName
OnCharacterDispensePowerupTeam
OnCharacterEnterVehicle
OnCharacterEnterVehicleClass
OnCharacterEnterVehicleName
OnCharacterEnterVehicleTeam
OnCharacterIssueAICommand
OnCharacterIssueAICommandClass
OnCharacterIssueAICommandName
OnCharacterIssueAICommandTeam
OnCharacterLandedFlyer
OnCharacterLandedFlyerClass
OnCharacterLandedFlyerName
OnCharacterLandedFlyerTeam
OnCharacterSpawn
OnCharacterSpawnClass
OnCharacterSpawnName
OnCharacterSpawnTeam
OnCommandPostKill
OnCommandPostKillName
OnCommandPostKillTeam
OnCommandPostRespawn
OnCommandPostRespawnName
OnCommandPostRespawnTeam
OnComplete
OnElementChanged
OnEnterRegion
OnEnterRegionClass
OnEnterRegionName
OnEnterRegionTeam
OnFinishCapture
OnFinishCaptureName
OnFinishCaptureTeam
OnFinishNeutralize
OnFinishNeutralizeName
OnFinishNeutralizeTeam
OnFlagCapture
OnFlagCaptureClass
OnFlagCaptureName
OnFlagCaptureTeam
OnFlagDrop
OnFlagDropClass
OnFlagDropName
OnFlagDropTeam
OnFlagPickUp
OnFlagPickUpClass
OnFlagPickUpName
OnFlagPickUpTeam
OnFlagReset
OnFlagReturn
OnFlagReturnClass
OnFlagReturnName
OnFlagReturnTeam
OnHealthChange
OnHealthChangeClass
OnHealthChangeMatch
OnHealthChangeName
OnHealthChangeTeam
OnLeaveRegion
OnLeaveRegionClass
OnLeaveRegionName
OnLeaveRegionTeam
OnObjectCreate
OnObjectCreateClass
OnObjectCreateMatch
OnObjectCreateName
OnObjectCreateTeam
OnObjectDamage
OnObjectDamageClass
OnObjectDamageMatch
OnObjectDamageName
OnObjectDamageTeam
OnObjectDelete
OnObjectDeleteClass
OnObjectDeleteMatch
OnObjectDeleteName
OnObjectDeleteTeam
OnObjectHack
OnObjectHackClass
OnObjectHackMatch
OnObjectHackName
OnObjectHackTeam
OnObjectHeadshot
OnObjectHeadshotClass
OnObjectHeadshotMatch
OnObjectHeadshotName
OnObjectHeadshotTeam
OnObjectInit
OnObjectInitClass
OnObjectInitMatch
OnObjectInitName
OnObjectInitTeam
OnObjectKill
OnObjectKillClass
OnObjectKillMatch
OnObjectKillName
OnObjectKillTeam
OnObjectRepair
OnObjectRepairClass
OnObjectRepairMatch
OnObjectRepairName
OnObjectRepairTeam
OnObjectRespawn
OnObjectRespawnClass
OnObjectRespawnMatch
OnObjectRespawnName
OnObjectRespawnTeam
OnRadioChanged
OnShieldChange
OnShieldChangeClass
OnShieldChangeMatch
OnShieldChangeName
OnShieldChangeTeam
OnStart
OnTeamChange
OnTeamChangeClass
OnTeamChangeMatch
OnTeamChangeName
OnTeamChangeTeam
OnTeamPointsChange
OnTeamPointsChangeTeam
OnTicketBleedChange
OnTicketBleedChangeTeam
OnTicketCountChange
OnTicketCountChangeTeam
OnTimerElapse
OpenAudioStream
pairs
PauseAnimation
pcall
PersonalStats_ListboxGameStats_CreateItem
PersonalStats_ListboxGameStats_PopulateItem
PersonalStats_ListboxMedals_CreateItem
PersonalStats_ListboxMedals_PopulateItem
PlayAnimation
PlayAnimationFromTo
PlayAudioStream
PlayAudioStreamUsingProperties
PopulateFn
PopupHandleMouse
Popup_LoadSave2_ResizeButtons
Popup_LoadSave2_SelectButton
pow
__pow
print
Print3D
Print Globals Nested
rad
random
randomseed
rawequal
rawget
rawset
Reactivate
ReadDataFile
ReadDataFileInGame
ReleaseAbortCapture
ReleaseAbortNeutralize
ReleaseBeginCapture
ReleaseBeginNeutralize
ReleaseCharacterChangeClass
ReleaseCharacterDeath
ReleaseCharacterDispenseControllable
ReleaseCharacterDispensePowerup
ReleaseCharacterEnterVehicle
ReleaseCharacterIssueAICommand
ReleaseCharacterLandedFlyer
ReleaseCharacterSpawn
ReleaseCommandPostKill
ReleaseCommandPostRespawn
ReleaseEnterRegion
ReleaseFinishCapture
ReleaseFinishNeutralize
ReleaseFlagCapture
ReleaseFlagDrop
ReleaseFlagPickUp
ReleaseFlagReset
ReleaseFlagReturn
ReleaseHealthChange
ReleaseLeaveRegion
ReleaseObjectCreate
ReleaseObjectDamage
ReleaseObjectDelete
ReleaseObjectHack
ReleaseObjectHeadshot
ReleaseObjectInit
ReleaseObjectKill
ReleaseObjectRepair
ReleaseObjectRespawn
ReleaseShieldChange
ReleaseTeamChange
ReleaseTeamPointsChange
ReleaseTicketBleedChange
ReleaseTicketCountChange
ReleaseTimerElapse
remove
RemoveEffect
RemoveRegion
rep
RepaintListbox
require
RespawnObject
resume
RewindAnimation
RoundIFButtonLabel_fnHilight
RoundIFButtonLabel_fnSelect
RoundIFButtonLabel_fnSetSize
RoundIFButtonLabel_fnSetString
RoundIFButtonLabel_fnSetUString
RoundIFButtonSkin_fnHilight
RoundIFButtonSkin_fnSelect
RoundIFButtonSkin_fnSetSize
run
ScaleSoundParameter
ScriptCB_AddIFBorder
ScriptCB_AddIFContainer
ScriptCB_AddIFFlashyText
ScriptCB_AddIFImage
ScriptCB_AddIFMaskImage
ScriptCB_AddIFModel
ScriptCB_AddIFScreen
ScriptCB_AddIFText
ScriptCB_AddProfile
ScriptCB_AllowSkipDNAS
ScriptCB_ApplyFilters
ScriptCB_AreMoviePropertiesPlaying
ScriptCB_AutoNetJoin
ScriptCB_BeginFriends
ScriptCB_BeginJoin
ScriptCB_BeginJoinIP
ScriptCB_BeginJoinSpecial
ScriptCB_BeginLeave
ScriptCB_BeginLobby
ScriptCB_BeginQuickmatch
ScriptCB_BeginSessionList
ScriptCB_CancelFriends
ScriptCB_CancelJoin
ScriptCB_CancelLeaderBoardPlayerData
ScriptCB_CancelLeave
ScriptCB_CancelLobby
ScriptCB_CancelLogin
ScriptCB_CancelQuickmatch
ScriptCB_CancelSessionList
ScriptCB_CanClientLeaveStats
ScriptCB_CanSupportMaxPlayers
ScriptCB_CheckForPatch
ScriptCB_CheckIfOkToExitMemoryMode
ScriptCB_CheckMemoryCardMark
ScriptCB_CheckMouseMark
ScriptCB_CheckPlayerListDone
ScriptCB_ClearCampaignState
ScriptCB_ClearError
ScriptCB_ClearMetagameState
ScriptCB_ClearMissionSetup
ScriptCB_ClearPrevSessionId
ScriptCB_ClientGotStats
ScriptCB_CloseErrorBox
ScriptCB_CloseMovie
ScriptCB_CloseNetShell
ScriptCB_ClosePopup
ScriptCB_DisableFlyerShadows
ScriptCB_DoConsoleCmd
ScriptCB_DoesCampaignExistOnCard
ScriptCB_DoesMetagameExistOnCard
ScriptCB_DoesProfileExistOnCard
ScriptCB_DoFile
ScriptCB_DoFriendAction
ScriptCB_DoInitialMemcardCheck
ScriptCB_DoneCheckDNAS
ScriptCB_DoneCheckPatch
ScriptCB_DownloadLeaderBoardData
ScriptCB_EffectsEnabled
ScriptCB_EnableCommandPostVO
ScriptCB_EnableCursor
ScriptCB_EnableHeroMusic
ScriptCB_EnableHeroVO
ScriptCB_EnableJournal
ScriptCB_EnablePlayback
ScriptCB_EnableScene
ScriptCB_EndAutoNet
ScriptCB_EndIFObj
ScriptCB_EndIFScreen
ScriptCB_EnterMission
ScriptCB_EnumerateLeaderBoard
ScriptCB_EnumerateLeaderBoardDone
ScriptCB_FillMultisampleTable
ScriptCB_FillResolutionTable
ScriptCB_FormatTimeString
ScriptCB_Freecamera
ScriptCB_GetActionFromIdx
ScriptCB_GetAmHost
ScriptCB_GetAssaultScoreLimit
ScriptCB_GetASSNumBots
ScriptCB_GetAutoAssignTeams
ScriptCB_GetAutodetectPCVideoOptions
ScriptCB_GetAutoGetPlayerCount
ScriptCB_GetAutoNetGameName
ScriptCB_GetAutoNetIsDedicated
ScriptCB_GetAutoNetMode
ScriptCB_GetAutoNetScript
ScriptCB_GetAwardStats
ScriptCB_GetBandwidth
ScriptCB_GetBassManagement
ScriptCB_GetBuildStr
ScriptCB_GetCareerMedalLevel
ScriptCB_GetCareerMedals
ScriptCB_GetCareerPersonalStats
ScriptCB_GetCareerRank
ScriptCB_GetCmdlineLogin
ScriptCB_GetCONMaxTimeLimit
ScriptCB_GetConnectType
ScriptCB_GetCONNumBots
ScriptCB_GetConsoleCmds
ScriptCB_GetControlMode
ScriptCB_GetControlScale
ScriptCB_GetCTFCaptureLimit
ScriptCB_GetCTFMaxTimeLimit
ScriptCB_GetCTFNumBots
ScriptCB_GetCurrentPCTitleVersion
ScriptCB_GetCurrentProfileName
ScriptCB_GetCurrentProfileNetName
ScriptCB_GetCustomResolution
ScriptCB_GetCustomVideoOptions
ScriptCB_GetDateStr
ScriptCB_GetDeadZone
ScriptCB_GetDifficulty
ScriptCB_GetEAXVersion
ScriptCB_GetEntityLabel
ScriptCB_GetEntityMesh
ScriptCB_GetEntityWeaponMesh
ScriptCB_GetEnumerateLeaderBoardData
ScriptCB_GetError
ScriptCB_GetErrorLevel
ScriptCB_GetExtraSessionInfo
ScriptCB_GetFilters
ScriptCB_GetFontHeight
ScriptCB_GetFriendActions
ScriptCB_GetFriendListIcon
ScriptCB_GetFriendStateStr
ScriptCB_GetFunctionIdForAnalogId
ScriptCB_GetFunctionIdForButtonId
ScriptCB_GetGameName
ScriptCB_GetGameRules
ScriptCB_GetGeneralOptions
ScriptCB_GetGSProfileInfo
ScriptCB_GetHUDScale
ScriptCB_GetHuntMaxTimeLimit
ScriptCB_GetHuntScoreLimit
ScriptCB_GetIdealResolution
ScriptCB_GetIFaceLighting
ScriptCB_GetInTrainingMission
ScriptCB_GetIPAddr
ScriptCB_GetJoySensitivity
ScriptCB_GetKeyBoardCmds
ScriptCB_GetKeyboardPCFlags
ScriptCB_GetLanguage
ScriptCB_GetLastBattleVictory
ScriptCB_GetLatestError
ScriptCB_GetLeaderBoardPlayerData
ScriptCB_GetLobbyPlayerCount
ScriptCB_GetLobbyPlayerFlags
ScriptCB_GetLobbyPlayerlist
ScriptCB_getlocalizestr
ScriptCB_GetLoginList
ScriptCB_GetLoginName
ScriptCB_GetMaxControllers
ScriptCB_GetMaxMissionQueue
ScriptCB_GetMedalStats
ScriptCB_GetMissionTime
ScriptCB_GetMixConfig
ScriptCB_GetMixConfigChanged
ScriptCB_GetMouseSensitivity
ScriptCB_GetMouseTurnAssist
ScriptCB_GetNetGameDefaults
ScriptCB_GetNetHeroDefaults
ScriptCB_GetNumCameras
ScriptCB_GetNumControllers
ScriptCB_GetOnlineOpts
ScriptCB_GetOnlineService
ScriptCB_GetOutputMode
ScriptCB_GetPausingJoystick
ScriptCB_GetPausingViewport
ScriptCB_GetPCVideoOptions
ScriptCB_GetPersonalStats
ScriptCB_GetPlatform
ScriptCB_GetPlayerAwardsEnabled
ScriptCB_GetPlayerIDAtRank
ScriptCB_GetPrimaryController
ScriptCB_GetProfileJoinIP
ScriptCB_GetProfileName
ScriptCB_GetQuitPlayer
ScriptCB_GetRank
ScriptCB_GetReticuleTransparency
ScriptCB_GetSafeScreenInfo
ScriptCB_GetSavedCampaignList
ScriptCB_GetSavedMetagameList
ScriptCB_GetScreenInfo
ScriptCB_GetSecondaryController
ScriptCB_GetSessionList
ScriptCB_GetSessionListPercent
ScriptCB_GetSessionSortMode
ScriptCB_GetShellActive
ScriptCB_GetSideSelectButtonSetting
ScriptCB_GetSkipToNTGUIProfileName
ScriptCB_GetSpectatorMode
ScriptCB_GetSPProgress
ScriptCB_GetTeamName
ScriptCB_GetTeamstats
ScriptCB_GetUberScoreLimit
ScriptCB_GetUniqueLoginName
ScriptCB_GetVKeyboardCharacter
ScriptCB_GetVoiceCaptureConnected
ScriptCB_GetVoiceEnable
ScriptCB_GetVoiceReceivePreset
ScriptCB_GetVoiceReceiveStatus
ScriptCB_GetVoiceRenderConnected
ScriptCB_GetVoiceSendPreset
ScriptCB_GetVoiceSendStatus
ScriptCB_GetVoiceTVGain
ScriptCB_GetVolumes
ScriptCB_GetWasHost
ScriptCB_GetYAxisFlip
ScriptCB_HasProfileChanged
ScriptCB_HasSeenDNASEULA
ScriptCB_HasServerLaunched
ScriptCB_HideDownloadableContent
ScriptCB_HWSupport
ScriptCB_IFBorder_GetRect
ScriptCB_IFBorder_GetTexCoords
ScriptCB_IFBorder_SetRect
ScriptCB_IFBorder_SetTexCoords
ScriptCB_IFBorder_SetTexture
ScriptCB_IFFlashyText_SetBackground
ScriptCB_IFFlashyText_SetBackgroundRightJustify
ScriptCB_IFFlashyText_SetBackgroundSize
ScriptCB_IFFlashyText_SetTextColor
ScriptCB_IFFlashyText_Setup
ScriptCB_IFFlashyText_StartFlashiness
ScriptCB_IFImage_GetRect
ScriptCB_IFImage_GetTexCoords
ScriptCB_IFImage_SetRect
ScriptCB_IFImage_SetTexCoords
ScriptCB_IFImage_SetTexture
ScriptCB_IFMaskImage_GetMaskTexCoords
ScriptCB_IFMaskImage_SetMaskTexCoords
ScriptCB_IFMaskImage_SetMaskTexture
ScriptCB_IFModel_AttachModel
ScriptCB_IFModel_GetDepth
ScriptCB_IFModel_GetRotation
ScriptCB_IFModel_GetScale
ScriptCB_IFModel_GetTranslation
ScriptCB_IFModel_QueueAnimation
ScriptCB_IFModel_SetAnimation
ScriptCB_IFModel_SetAnimationBanks
ScriptCB_IFModel_SetAnimationLooping
ScriptCB_IFModel_SetAnimationTime
ScriptCB_IFModel_SetDepth
ScriptCB_IFModel_SetLighting
ScriptCB_IFModel_SetModel
ScriptCB_IFModel_SetOmegaY
ScriptCB_IFModel_SetRotation
ScriptCB_IFModel_SetScale
ScriptCB_IFModel_SetTranslation
ScriptCB_IFModel_UpdateAnimation
ScriptCB_IFObj_BringToFront
ScriptCB_IFObj_CreateHotSpot
ScriptCB_IFObj_Enable
ScriptCB_IFObj_GetAlpha
ScriptCB_IFObj_GetColor
ScriptCB_IFObj_GetCPointer
ScriptCB_IFObj_GetPos
ScriptCB_IFObj_GetPosition
ScriptCB_IFObj_GetVis
ScriptCB_IFObj_GetWidthHeight
ScriptCB_IFObj_GetZOrder
ScriptCB_IFObj_IsEnabled
ScriptCB_IFObj_IsGroup
ScriptCB_IFObj_MouseOver
ScriptCB_IFObj_RemoveHotSpot
ScriptCB_IFObj_SendToBack
ScriptCB_IFObj_SetAlpha
ScriptCB_IFObj_SetBasicRotation
ScriptCB_IFObj_SetColor
ScriptCB_IFObj_SetEnabled
ScriptCB_IFObj_SetPos
ScriptCB_IFObj_SetPosition
ScriptCB_IFObj_SetRelativeRotation
ScriptCB_IFObj_SetRotation
ScriptCB_IFObj_SetScreenPosition
ScriptCB_IFObj_SetUseSafezone
ScriptCB_IFObj_SetVis
ScriptCB_IFObj_SetWidthHeight
ScriptCB_IFObj_SetZOrder
ScriptCB_IFObj_TestHotSpot
ScriptCB_IFText_GetDisplayRect
ScriptCB_IFText_GetIntercharacterSpacing
ScriptCB_IFText_GetLeading
ScriptCB_IFText_GetTextBox
ScriptCB_IFText_GetTextExtent
ScriptCB_IFText_GetTextScaleX
ScriptCB_IFText_GetTextScaleY
ScriptCB_IFText_SetFont
ScriptCB_IFText_SetIntercharacterSpacing
ScriptCB_IFText_SetJustify
ScriptCB_IFText_SetLeading
ScriptCB_IFText_SetString
ScriptCB_IFText_SetTextBox
ScriptCB_IFText_SetTextBreak
ScriptCB_IFText_SetTextPosition
ScriptCB_IFText_SetTextScale
ScriptCB_IFText_SetTextStyle
ScriptCB_IFText_SetUString
ScriptCB_IndexMultipageText
ScriptCB_InMemoryProfileMode
ScriptCB_InMultiplayer
ScriptCB_InNetGame
ScriptCB_InNetSession
ScriptCB_IsAutoNet
ScriptCB_IsBadNetworkConnection
ScriptCB_IsBootInvitePending
ScriptCB_IsCampaignStateSaved
ScriptCB_IsCmdlineJoinPending
ScriptCB_IsControllerBound
ScriptCB_IsControllerConnected
ScriptCB_IsCurProfileDirty
ScriptCB_IsCurrentCampaign
ScriptCB_IsCurrentMetagame
ScriptCB_IsDedicated
ScriptCB_IsEnableLeaderBoard
ScriptCB_IsErrorBoxOpen
ScriptCB_IsFileExist
ScriptCB_IsGameOver
ScriptCB_IsGamespyArcadePasswordReady
ScriptCB_IsGuest
ScriptCB_IsHorizontalSplitScreen
ScriptCB_IsInShell
ScriptCB_IsJoinDone
ScriptCB_IsJoystickEnabled
ScriptCB_IsLeaveDone
ScriptCB_IsLegalGamespyString
ScriptCB_IsLoggedIn
ScriptCB_IsLoginDone
ScriptCB_IsMemoryCardInsertted
ScriptCB_IsMemoryCardUnformatted
ScriptCB_IsMetaAllMapsOn
ScriptCB_IsMetagameStateSaved
ScriptCB_IsMissionSetupSaved
ScriptCB_IsMoviePlaying
ScriptCB_IsNetCableIn
ScriptCB_IsNetHWPresent
ScriptCB_IsNetworkOn
ScriptCB_IsPAL
ScriptCB_IsPCVideoFixedFunction
ScriptCB_IsPlayerLoggedIn
ScriptCB_IsPopupOpen
ScriptCB_IsProfileDirty
ScriptCB_IsPropertyPlayingNow
ScriptCB_IsQuickmatchDone
ScriptCB_IsQuickmatchPassworded
ScriptCB_IsScreenInStack
ScriptCB_IsSessionReady
ScriptCB_IsShellMusicPlaying
ScriptCB_IsSpecialJoinPending
ScriptCB_IsSplitscreen
ScriptCB_IsUniqueLoginName
ScriptCB_LaunchDemo
ScriptCB_LaunchJoin
ScriptCB_LaunchLeave
ScriptCB_LaunchLobby
ScriptCB_LaunchQuickmatch
ScriptCB_LaunchSessionList
ScriptCB_LeaderBoardDownloadDone
ScriptCB_LoadCampaignState
ScriptCB_LoadMetagameState
ScriptCB_LoadMissionSetup
ScriptCB_LoadSavePopupResult
ScriptCB_LobbyAction
ScriptCB_Logout
ScriptCB_MakeFakeProfiles
ScriptCB_MarkCurrentProfile
ScriptCB_MarkMemoryCard
ScriptCB_MetagameSetBonus
ScriptCB_MetagameSetSide
ScriptCB_MinimizeWindow
ScriptCB_MrMrsEval
ScriptCB_NetWasClient
ScriptCB_NetWasDedicated
ScriptCB_NetWasDedicatedQuit
ScriptCB_NetWasHost
ScriptCB_NextHost
ScriptCB_NextMixConfig
ScriptCB_NextOutputMode
ScriptCB_NextToolTipState
ScriptCB_OpenErrorBox
ScriptCB_OpenMovie
ScriptCB_OpenNetShell
ScriptCB_OpenPopup
ScriptCB_PauseDemoTimer
ScriptCB_PauseSessionList
ScriptCB_PausingIsPrimary
ScriptCB_PersonalStatsSetTitles
ScriptCB_PlayAuditionEffect
ScriptCB_PlayerSuicide
ScriptCB_PlayInGameMovie
ScriptCB_PlayInGameMusic
ScriptCB_PlayMovie
ScriptCB_PopScreen
ScriptCB_PostLoadHack
ScriptCB_PreviousHost
ScriptCB_PreviousMixConfig
ScriptCB_PreviousOutputMode
ScriptCB_PrevToolTipState
ScriptCB_PushScreen
ScriptCB_QuitFromStats
ScriptCB_QuitToShell
ScriptCB_QuitToWindows
ScriptCB_random
ScriptCB_ReadAllControllers
ScriptCB_ReadLeftstick
ScriptCB_Reboot
ScriptCB_ReloadMarkedProfile
ScriptCB_RemoveTexture
ScriptCB_ResetControl
ScriptCB_ResetControlsToDefault
ScriptCB_ResetGameOptionsToDefault
ScriptCB_ResetLeaderBoardPlayerData
ScriptCB_ResetMouseMark
ScriptCB_ResetOnlineOptionsToDefault
ScriptCB_ResetPCVideoOptionsToDefault
ScriptCB_ResetSkipToNTGUI
ScriptCB_ResetSkipToPlayerList
ScriptCB_ResetSoundToDefault
ScriptCB_ResetToolTips
ScriptCB_RestartMission
ScriptCB_RestoreDefaultProfile
ScriptCB_RestorePrimaryController
ScriptCB_SaveCampaignState
ScriptCB_SaveMetagameState
ScriptCB_SaveMissionSetup
ScriptCB_SearchStatsRank
ScriptCB_SetAIDifficulty
ScriptCB_SetAmHost
ScriptCB_SetAsFavorite
ScriptCB_SetAutoAcquireControllers
ScriptCB_SetBandwidth
ScriptCB_SetBassManagement
ScriptCB_SetBinding
ScriptCB_SetBleedingRepeatTime
ScriptCB_SetCanSwitchSides
ScriptCB_SetConnectType
ScriptCB_SetControlMode
ScriptCB_SetControlScale
ScriptCB_SetDCMap
ScriptCB_SetDeadZone
ScriptCB_SetDedicated
ScriptCB_SetDifficulty
ScriptCB_SetDopplerFactor
ScriptCB_SetFilters
ScriptCB_SetFunctionIdForAnalogId
ScriptCB_SetFunctionIdForButtonId
ScriptCB_SetGameName
ScriptCB_SetGameRules
ScriptCB_SetGeneralOptions
ScriptCB_SetGSProfileInfo
ScriptCB_SetHasSeenDNASEULA
ScriptCB_SetHorizontalSplitScreen
ScriptCB_SetHotController
ScriptCB_SetHUDScale
ScriptCB_SetIFaceLighting
ScriptCB_SetIFScreen
ScriptCB_SetIFScreenViewport
ScriptCB_SetIgnoreControllerRemoval
ScriptCB_SetIgnoreInputs
ScriptCB_SetInNetGame
ScriptCB_SetInputRepeat
ScriptCB_SetInTrainingMission
ScriptCB_SetJoySensitivity
ScriptCB_SetJoystickEnabled
ScriptCB_SetLastBattleVictoryValid
ScriptCB_SetLeaderBoardID
ScriptCB_SetMemoryProfileMode
ScriptCB_SetMetaAllMapsOn
ScriptCB_SetMissionNames
ScriptCB_SetMixConfig
ScriptCB_SetMouseMark
ScriptCB_SetMouseSensitivity
ScriptCB_SetMouseTurnAssist
ScriptCB_SetMovieAudioBus
ScriptCB_SetNetGameDefaults
ScriptCB_SetNetHeroDefaults
ScriptCB_SetNetLoginName
ScriptCB_SetNoticeNoCable
ScriptCB_SetNumBots
ScriptCB_SetOnlineOpts
ScriptCB_SetOutputMode
ScriptCB_SetPCBrightnessContrast
ScriptCB_SetPCVideoOptions
ScriptCB_SetPlayerAwardsEnabled
ScriptCB_SetPlayerSide
ScriptCB_SetPlayerStatsPoints
ScriptCB_SetProfileAsDefault
ScriptCB_SetProfileJoinIP
ScriptCB_SetProfileNotDirty
ScriptCB_SetQuitPlayer
ScriptCB_SetResolution
ScriptCB_SetReticuleTransparency
ScriptCB_SetSessionSortMode
ScriptCB_SetShellMusic
ScriptCB_SetShellMusicInterval
ScriptCB_SetSpawnDisplayGain
ScriptCB_SetSpectatorMode
ScriptCB_SetSplitscreen
ScriptCB_SetSPProgress
ScriptCB_SetSunlight
ScriptCB_SetTeamNames
ScriptCB_SetTeamStatsSortMode
ScriptCB_SetToolTipState
ScriptCB_SetUberScoreLimit
ScriptCB_SetupAutoNetIsLan
ScriptCB_SetupAutoNetMissions
ScriptCB_SetVoiceLocalEchoEnable
ScriptCB_SetVoiceReceiveEnable
ScriptCB_SetVoiceReceivePreset
ScriptCB_SetVoiceSendEnable
ScriptCB_SetVoiceSendPreset
ScriptCB_SetVolumes
ScriptCB_SetYAxisFlip
ScriptCB_ShellPlayDelayedStream
ScriptCB_ShouldCheckDNAS
ScriptCB_ShouldCheckPatch
ScriptCB_ShouldShowDemoPostscreen
ScriptCB_ShouldShowLegal
ScriptCB_ShowHuntScoreLimit
ScriptCB_ShowLoadDisplay
ScriptCB_ShowMultipageText
ScriptCB_SkipToNTGUI
ScriptCB_SkipToPlayerList
ScriptCB_SndBusFade
ScriptCB_SndPlaySound
ScriptCB_SoundDisable
ScriptCB_SoundEnable
ScriptCB_srand
ScriptCB_StartDeleteCampaign
ScriptCB_StartDeleteMetagame
ScriptCB_StartDeleteProfile
ScriptCB_StartInitialMemcardCheck
ScriptCB_StartLoadCampaign
ScriptCB_StartLoadMetagame
ScriptCB_StartLoadProfile
ScriptCB_StartLogin
ScriptCB_StartLoginDedicatedServer
ScriptCB_StartNewCampaign
ScriptCB_StartNewMetagame
ScriptCB_StartPreOp
ScriptCB_StartSaveCampaign
ScriptCB_StartSaveMetagame
ScriptCB_StartSaveProfile
ScriptCB_StopInGameMovie
ScriptCB_StopInGameMusic
ScriptCB_StopMovie
ScriptCB_SwapActiveProfileSlots
ScriptCB_SwapPrimaryController
ScriptCB_TeamStatsGetTeam1
ScriptCB_TeamStatsGetTeamColor
ScriptCB_TeamStatsSetTitles
ScriptCB_TeamStatsValidatePos
ScriptCB_ToggleEffects
ScriptCB_tounicode
ScriptCB_TrackLoginErrors
ScriptCB_TriggerSoundRegionEnable
ScriptCB_TrimLoginName
ScriptCB_UnbindController
ScriptCB_UnicodeStrCat
ScriptCB_UnlockableState
ScriptCB_UnlockUnlockable
ScriptCB_Unpause
ScriptCB_ununicode
ScriptCB_UpdateFriends
ScriptCB_UpdateJoin
ScriptCB_UpdateLeave
ScriptCB_UpdateLobby
ScriptCB_UpdateQuickmatch
ScriptCB_UpdateScreen
ScriptCB_UpdateSessionList
ScriptCB_usprintf
ScriptCB_ustrupper
ScriptCB_VoiceEnable
ScriptCB_WasSplitscreen
ScriptInit
ScriptPostLoad
SelectCharacterClass
SelectCharacterTeam
SetAIDamageThreshold
SetAIDifficulty
SetAIVehicleNotifyRadius
SetAIViewMultiplier
SetAllowBlindJetJumps
SetAmbientMusic
SetAnimationStartPoint
SetAttackerSnipeRange
SetAttackingTeam
SetBirdFlockMinHeight
SetBirdType
SetBleedingVoiceOver
SetBleedRate
SetCameraPosition
SetCameraRotation
SetCarrierClass
SetClassProperty
SetContainer
SetCurButton
SetCurButtonTable
SetDefeatMovie
SetDefeatMusic
SetDefeatTimer
SetDefenderSnipeRange
SetDenseEnvironment
SetEffectActive
SetEffectMatrix
SetEntityMatrix
setfenv
SetFishType
SetFlagGameplayType
SetGroundFlyerMap
SetHeroClass
SetHeroPlayerRule
SetHeroRespawnRule
SetHeroTeamRule
SetHeroUnlockRule
SetHistorical
sethook
setlocal
SetLowReinforcementsVoiceOver
SetMapCameraOffset
SetMapCameraPitch
SetMapCameraPosition
SetMapCameraZoom
SetMapNorthAngle
SetMaxCollisionDistance
SetMaxFlyHeight
SetMaxPlayerFlyHeight
SetMemoryPoolSize
setmetatable
SetMinFlyHeight
SetMinPlayerFlyHeight
SetMissionEndMovie
SetMissionTimer
setn
SetNumBirdTypes
SetNumFishTypes
SetObjectTeam
SetOutOfBoundsVoiceOver
SetParticleLODBias
SetPlanetaryBonusVoiceOver
SetProperty
SetPS2ModelMemory
SetReinforcementCount
SetReservesVO
SetSoundEffect
SetSpawnDelay
SetSpawnDelayTeam
SetState
SetStationaryWaitTime
SetStayInTurrets
SetTeamAggressiveness
SetTeamAsEnemy
SetTeamAsFriend
SetTeamAsNeutral
SetTeamIcon
SetTeamName
SetTeamPoints
SetTimerRate
SetTimerValue
SetUberMode
SetUnitCount
SetupTeams
SetupTempHeap
setupvalue
SetUrbanEnvironment
SetVictoryMovie
SetVictoryMusic
SetVictoryTimer
SetWorldExtents
ShowAllUnitsOnMinimap
ShowHide
ShowHideHorizontalButtons
ShowHideVerticalButtons
ShowHideVerticalText
ShowMessageText
ShowObjectiveTextPopup
ShowPopup
ShowSelectionTextPopup
ShowTeamPoints
ShowTimer
sin
SnapMapCamera
sort
SpaceAssaultAddCriticalSystem
SpaceAssaultEnable
SpaceAssaultGetScoreLimit
SpaceAssaultLinkCriticalSystems
SpaceAssaultSetupBitmaps
SpaceAssaultSetupTeamNumbers
SpawnCharacter
sqrt
Start
Starting
StartTimer
status
StealArtistHeap
StopAudioStream
StopTimer
sub
tan
Teamstats_AwardsListbox_CreateItem
Teamstats_AwardsListbox_PopulateItem
Teamstats_Listbox_CreateItem
Teamstats_Listbox_PopulateItem
TitleBarLabel_fnHilight
TitleBarLabel_fnSetSize
TitleBarLabel_fnSetString
TitleBarLabel_fnSetUString
TitleBarSkin_fnHilight
TitleBarSkin_fnSelect
TitleBarSkin_fnSetSize
ToggleBarriers
TogglePlanningGraphArcs
tonumber
tostring
traceback
_TRACEBACK
TranslateAICommand
type
uf_addToServerName
uf_applyFunctionOnTeamUnits
uf_changeClassProperties
uf_changeObjectProperty
uf_GetOtherTeam
uf_killUnits
uf_moveToTeam
uf_print
uf_removeFromServerName
UnblockPlanningGraphArcs
UnlockHeroForTeam
unpack
Update
UpdateGeneralOptionBools
UpdateOverallQuality
UpdatePCTitleText
upper
wrap
xpcall
yield[/code]
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: LuaState question [Solved]

Post by jedimoose32 »

That makes sense. I'm assuming the best way to check for the retail usage of certain functions is to... use a hex editor?

Thanks for that list by the way!
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: LuaState question [Solved]

Post by [RDH]Zerted »

No, use a tool to search through all of the asset and documentation files at the same time. Something like grep, my example finder, Window's indexing service, etc... Unless you really want to learn hex editing.

I've done everything I did without hexes, curses, or charms :angel:
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: LuaState question [Solved]

Post by Marth8880 »

Oh, by the way, Zerted, your Example Finder no longer works since Java 1.8 was released.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: LuaState question [Solved]

Post by jedimoose32 »

[RDH]Zerted wrote:I've done everything I did without hexes, curses, or charms :angel:
I notice you didn't say anything about spells...

And yeah I have had trouble with the example finder since the update as well. :(
hunpeter12
Command Sergeant Major
Command Sergeant Major
Posts: 260
Joined: Mon Apr 18, 2011 2:53 pm
Projects :: Underground City The Complex [WIP]
Games I'm Playing :: SWBF2

Re: LuaState question [Solved]

Post by hunpeter12 »

Strange. I also have the latest version of Java, yet I don't have any trouble with Example Finder.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: LuaState question [Solved]

Post by jedimoose32 »

Mine works sometimes, and other times it doesn't. Like for example I'll try to use it and when I try to press the buttons they don't do anything.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: LuaState question [Solved]

Post by Marth8880 »

You guys probably have both versions installed.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: LuaState question [Solved]

Post by jedimoose32 »

If you mean both 32-bit and 64-bit then yes. Otherwise... I'm not sure and I'd have to check yo see whether I have somehow managed to get a redundant Java installation on my machine.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: LuaState question [Solved]

Post by Marth8880 »

I mean 1.7 and 1.8.
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: LuaState question [Solved]

Post by jedimoose32 »

Nope. I just had a look and I actually only have 1.8, as far as I can tell.
Hidden/Spoiler:
Image
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: LuaState question [Solved]

Post by [RDH]Zerted »

I don't have enough HDD space available right now to install Java 8 and test it. Though I don't have a clue as to why it would stop working. Thanks for letting me know about it.
Post Reply