Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:ScriptControllerBase instance functions (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> ScriptControllerInterf >> ScriptControllerBase (instance functions)

Contents

;Other member categories for this class::constants, enums, internal variables, states

Instance functions[edit]

CheckForOnCmdIndex[edit]

function bool CheckForOnCmdIndex (int EventIndex)


CleanupScriptController[edit]

function CleanupScriptController ()

Overrides: ScriptControllerInterf.CleanupScriptController


ClearFoundActors[edit]

function ClearFoundActors ()


ClearHandlers[edit]

function ClearHandlers (int Group)


ClearPushedCommands[edit]

function ClearPushedCommands ()


ClearTrigger[edit]

function ClearTrigger (int TriggerIndex, bool bClearTimer)


CompileCommand[edit]

function bool CompileCommand (int CommandIndex)


DecodeCommand[edit]

function bool DecodeCommand (bool bStartup, bool bShowProgress)


DetachScriptController[edit]

function DetachScriptController ()


DetermineCommandsListIndex[edit]

function int DetermineCommandsListIndex (string CommandString)


DMH[edit]

function DMH (coerce string Str)


DMSC[edit]

function DMSC (coerce string Str, optional bool bStrict)


DoCall[edit]

function DoCall (int DestinationIndex)


DoGoto[edit]

function DoGoto (int DestinationIndex)


DoInterrupt[edit]

function DoInterrupt (int DestinationIndex)


DoPostEventStuff[edit]

function DoPostEventStuff (U2NPCControllerScriptable NPC, int EventIndex)


DoPreEventStuff[edit]

function DoPreEventStuff (U2NPCControllerScriptable NPC, int EventIndex, optional Actor Instigator, optional Actor Other)


DoSetLocation[edit]

function DoSetLocation (Actor LocationActor, Actor TargetActor)


DumpCommands[edit]

function DumpCommands (coerce string strHeading)


DumpTimers[edit]

function DumpTimers ()


DumpTriggers[edit]

function DumpTriggers ()


EnableEvents[edit]

function EnableEvents ()


eventSCActorInRange[edit]

function eventSCActorInRange (U2NPCControllerScriptable NPC)

Overrides: ScriptControllerInterf.eventSCActorInRange


eventSCActorOutOfRange[edit]

function eventSCActorOutOfRange (U2NPCControllerScriptable NPC)

Overrides: ScriptControllerInterf.eventSCActorOutOfRange


eventSCAlertFriend[edit]

function eventSCAlertFriend (U2NPCControllerScriptable NPC, Pawn Seen)


eventSCAnimEnd[edit]

function eventSCAnimEnd (U2NPCControllerScriptable NPC, int Channel)

Overrides: ScriptControllerInterf.eventSCAnimEnd


eventSCAutoBegin[edit]

function eventSCAutoBegin (U2NPCControllerScriptable NPC, name DestinationState, name DestinationLabel)

Overrides: ScriptControllerInterf.eventSCAutoBegin


eventSCAutoEnd[edit]

function eventSCAutoEnd (U2NPCControllerScriptable NPC)

Overrides: ScriptControllerInterf.eventSCAutoEnd


eventSCBumpEnemy[edit]

function eventSCBumpEnemy (U2NPCControllerScriptable NPC, Pawn Other)

Overrides: ScriptControllerInterf.eventSCBumpEnemy


eventSCBumpFriend[edit]

function eventSCBumpFriend (U2NPCControllerScriptable NPC, Pawn Other)

Overrides: ScriptControllerInterf.eventSCBumpFriend


eventSCBumpOther[edit]

function eventSCBumpOther (U2NPCControllerScriptable NPC, Actor Other)

Overrides: ScriptControllerInterf.eventSCBumpOther


eventSCBumpPlayer[edit]

function bool eventSCBumpPlayer (U2NPCControllerScriptable NPC, Pawn Other, bool bFriendly)


eventSCDialogBegin[edit]

function eventSCDialogBegin (U2NPCControllerScriptable NPC)

Overrides: ScriptControllerInterf.eventSCDialogBegin


eventSCDied[edit]

function eventSCDied (U2NPCControllerScriptable NPC)

Overrides: ScriptControllerInterf.eventSCDied


eventSCEnemyNotVisible[edit]

function eventSCEnemyNotVisible (U2NPCControllerScriptable NPC)

Overrides: ScriptControllerInterf.eventSCEnemyNotVisible


eventSCHearNoiseFriendly[edit]

function eventSCHearNoiseFriendly (U2NPCControllerScriptable NPC, float Loudness, Actor NoiseMaker)

Overrides: ScriptControllerInterf.eventSCHearNoiseFriendly


eventSCHearNoiseOther[edit]

function eventSCHearNoiseOther (U2NPCControllerScriptable NPC, float Loudness, Actor NoiseMaker)

Overrides: ScriptControllerInterf.eventSCHearNoiseOther


eventSCHearNoiseThreat[edit]

function eventSCHearNoiseThreat (U2NPCControllerScriptable NPC, float Loudness, Actor NoiseMaker)

Overrides: ScriptControllerInterf.eventSCHearNoiseThreat


eventSCInheritEnemy[edit]

function eventSCInheritEnemy (U2NPCControllerScriptable NPC, Pawn NewEnemy)

Overrides: ScriptControllerInterf.eventSCInheritEnemy


eventSCScriptedLanding[edit]

function eventSCScriptedLanding (U2NPCControllerScriptable NPC)

Overrides: ScriptControllerInterf.eventSCScriptedLanding


eventSCSeeEnemy[edit]

function eventSCSeeEnemy (U2NPCControllerScriptable NPC, Pawn Seen)

Overrides: ScriptControllerInterf.eventSCSeeEnemy


eventSCSeeFriend[edit]

function eventSCSeeFriend (U2NPCControllerScriptable NPC, Pawn Seen)

Overrides: ScriptControllerInterf.eventSCSeeFriend


eventSCSeeOther[edit]

function eventSCSeeOther (U2NPCControllerScriptable NPC, Actor Seen)

Overrides: ScriptControllerInterf.eventSCSeeOther


eventSCSeePlayer[edit]

function bool eventSCSeePlayer (U2NPCControllerScriptable NPC, Pawn Seen, bool bFriendly)


eventSCTakeDamage[edit]

function eventSCTakeDamage (U2NPCControllerScriptable NPC, int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: ScriptControllerInterf.eventSCTakeDamage


eventSCTimer0[edit]

function eventSCTimer0 ()


eventSCTimer1[edit]

function eventSCTimer1 ()


eventSCTimer2[edit]

function eventSCTimer2 ()


eventSCTimer3[edit]

function eventSCTimer3 ()


eventSCTimer4[edit]

function eventSCTimer4 ()


eventSCTimer5[edit]

function eventSCTimer5 ()


eventSCTimer6[edit]

function eventSCTimer6 ()


eventSCTimer7[edit]

function eventSCTimer7 ()


eventSCTimer8[edit]

function eventSCTimer8 ()


eventSCTimer9[edit]

function eventSCTimer9 ()


eventSCTookDamage[edit]

function eventSCTookDamage (U2NPCControllerScriptable NPC, int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: ScriptControllerInterf.eventSCTookDamage


eventSCTookDamageEnemy[edit]

function eventSCTookDamageEnemy (U2NPCControllerScriptable NPC, int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


eventSCTookDamageFriend[edit]

function eventSCTookDamageFriend (U2NPCControllerScriptable NPC, int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)


eventSCTrigger[edit]

function eventSCTrigger (U2NPCControllerScriptable NPC, Actor Other, Pawn Instigator, name EventName)

Overrides: ScriptControllerInterf.eventSCTrigger


ExecAddAmmo[edit]

function ExecAddAmmo ()


ExecAgentBind[edit]

function ExecAgentBind ()


ExecAgentCall[edit]

function bool ExecAgentCall ()


ExecAgentExecute[edit]

function bool ExecAgentExecute ()


ExecAgentUnbind[edit]

function ExecAgentUnbind ()


ExecAnim[edit]

function bool ExecAnim (ECommandCode ECType, int Channel)


ExecAnimRelease[edit]

function ExecAnimRelease ()


ExecCall[edit]

function ExecCall ()


ExecCallEnd[edit]

function ExecCallEnd ()


ExecCallScript[edit]

function ExecCallScript ()


ExecClearEvents[edit]

function ExecClearEvents ()


ExecClearTimers[edit]

function ExecClearTimers ()


ExecClearTriggers[edit]

function ExecClearTriggers ()


ExecConsoleCommand[edit]

function ExecConsoleCommand ()


ExecDebugAI[edit]

function ExecDebugAI ()


ExecDebugAIEvents[edit]

function ExecDebugAIEvents ()


ExecDebugAIFlags[edit]

function ExecDebugAIFlags ()


ExecDebugMode[edit]

function ExecDebugMode ()


ExecDecProperty[edit]

function ExecDecProperty ()


ExecDeployInventory[edit]

function ExecDeployInventory ()


ExecDestroy[edit]

function ExecDestroy ()


ExecDialogDisable[edit]

function ExecDialogDisable ()


ExecDialogEnable[edit]

function ExecDialogEnable ()


ExecDialogFar[edit]

function bool ExecDialogFar (bool bWait)


ExecDialogInitiate[edit]

function ExecDialogInitiate ()


ExecDialogTerminate[edit]

function ExecDialogTerminate ()


ExecDirectionalPatrol[edit]

function ExecDirectionalPatrol ()


ExecDormant[edit]

function ExecDormant ()


ExecDropInventory[edit]

function ExecDropInventory ()


ExecEnableProbeEvent[edit]

function ExecEnableProbeEvent ()


ExecEnableXMPHandling[edit]

function ExecEnableXMPHandling ()


ExecEventDisable[edit]

function ExecEventDisable ()


ExecEventEnable[edit]

function ExecEventEnable ()


ExecEventWait[edit]

function ExecEventWait ()


ExecFindActor[edit]

function ExecFindActor ()


ExecFire[edit]

function ExecFire ()


ExecFireAlt[edit]

function ExecFireAlt ()


ExecGib[edit]

function ExecGib ()


ExecGibAll[edit]

function ExecGibAll ()


ExecGiveInventory[edit]

function ExecGiveInventory ()


ExecGiveItemToPlayer[edit]

function ExecGiveItemToPlayer ()


ExecGiveTossedItem[edit]

function ExecGiveTossedItem ()


ExecGotoActor[edit]

function ExecGotoActor ()


ExecGotoActorSafe[edit]

function bool ExecGotoActorSafe ()


ExecGotoLabel[edit]

function ExecGotoLabel ()


ExecHandlerGroup[edit]

function ExecHandlerGroup ()


ExecHandlerGroupEnd[edit]

function ExecHandlerGroupEnd ()


ExecHeadTracking[edit]

function ExecHeadTracking ()


ExecIncProperty[edit]

function ExecIncProperty ()


ExecInert[edit]

function ExecInert ()


ExecJump[edit]

function ExecJump ()


ExecKill[edit]

function ExecKill ()


ExecKillAll[edit]

function ExecKillAll ()


ExecLockStep[edit]

function ExecLockStep ()


ExecMessage[edit]

function ExecMessage ()


ExecOnEvent[edit]

function ExecOnEvent ()


ExecOnTimer[edit]

function ExecOnTimer ()


ExecOnTrigger[edit]

function ExecOnTrigger ()


ExecPlaySound[edit]

function bool ExecPlaySound (bool bWait)


ExecPlaySoundTableSlot[edit]

function bool ExecPlaySoundTableSlot (bool bWait)


ExecRemoveInventory[edit]

function ExecRemoveInventory ()


ExecRemoveInventoryFromPlayer[edit]

function ExecRemoveInventoryFromPlayer ()


ExecRemoveItemFromPlayer[edit]

function ExecRemoveItemFromPlayer ()


ExecRemoveTossedItem[edit]

function ExecRemoveTossedItem ()


ExecResumePatrol[edit]

function ExecResumePatrol ()


ExecReturn[edit]

function ExecReturn ()


ExecRotate[edit]

function ExecRotate ()


ExecSaveDestination[edit]

function ExecSaveDestination ()


ExecSendEvent[edit]

function ExecSendEvent ()


ExecSetActorRangeTest[edit]

function ExecSetActorRangeTest ()


ExecSetAimOdds[edit]

function ExecSetAimOdds ()


ExecSetAlert[edit]

function ExecSetAlert ()


ExecSetAmmo[edit]

function ExecSetAmmo ()


ExecSetFocus[edit]

function ExecSetFocus ()


ExecSetHealth[edit]

function ExecSetHealth ()


ExecSetInventory[edit]

function ExecSetInventory ()


execSetLocation[edit]

function execSetLocation ()


execSetLocationNamed[edit]

function execSetLocationNamed ()


execSetLocationVector[edit]

function execSetLocationVector ()


ExecSetMoveSpeed[edit]

function ExecSetMoveSpeed ()


ExecSetMoveSpeedAuto[edit]

function ExecSetMoveSpeedAuto ()


ExecSetOrders[edit]

function ExecSetOrders ()


ExecSetPhysics[edit]

function ExecSetPhysics ()


ExecSetProperties[edit]

function ExecSetProperties ()


ExecSetProperty[edit]

function ExecSetProperty ()


ExecSetSatellite[edit]

function ExecSetSatellite ()


ExecSetScript[edit]

function ExecSetScript ()


ExecSetSkill[edit]

function ExecSetSkill ()


ExecSetStance[edit]

function bool ExecSetStance ()


ExecSetStationary[edit]

function ExecSetStationary ()


ExecSetTacticalMoveType[edit]

function ExecSetTacticalMoveType ()


ExecSetWeapon[edit]

function ExecSetWeapon ()


ExecShutdown[edit]

function ExecShutdown ()


ExecSleep[edit]

function ExecSleep ()


ExecSleepRand[edit]

function ExecSleepRand ()


ExecSpawn[edit]

function ExecSpawn ()


ExecStop[edit]

function bool ExecStop ()


ExecStopMovement[edit]

function ExecStopMovement ()


ExecStopSound[edit]

function ExecStopSound ()


ExecTestActorInRange[edit]

function ExecTestActorInRange ()


ExecTestProperty[edit]

function ExecTestProperty ()


ExecTestPropertyCI[edit]

function ExecTestPropertyCI ()


ExecTestPropertyE[edit]

function ExecTestPropertyE ()


ExecTestPropertyG[edit]

function ExecTestPropertyG ()


ExecTestPropertyGE[edit]

function ExecTestPropertyGE ()


ExecTestPropertyL[edit]

function ExecTestPropertyL ()


ExecTestPropertyLE[edit]

function ExecTestPropertyLE ()


ExecTestRandom[edit]

function ExecTestRandom ()


ExecTestState[edit]

function ExecTestState ()


ExecTurnToActor[edit]

function bool ExecTurnToActor ()


ExecUnuse[edit]

function ExecUnuse ()


ExecUse[edit]

function ExecUse ()


ExecUsePickups[edit]

function ExecUsePickups ()


ExecuteCommand[edit]

function bool ExecuteCommand ()


ExecWeaponLoad[edit]

function ExecWeaponLoad ()


ExecWeaponSetAmmoType[edit]

function ExecWeaponSetAmmoType ()


ExecWeaponSupportsAltFire[edit]

function ExecWeaponSupportsAltFire ()


ExecWeaponSupportsFire[edit]

function ExecWeaponSupportsFire ()


FindEvent[edit]

function int FindEvent (name EventName)


FindPlayer[edit]

function Pawn FindPlayer ()


FindSoundSlot[edit]

function Actor.ESoundSlot FindSoundSlot (name SlotName)


FindTarget[edit]

function Object FindTarget (name TargetName, optional bool bOptional)


FindTrigger[edit]

function int FindTrigger (name EventName)


GetCommandFile[edit]

function string GetCommandFile ()

Overrides: ScriptControllerInterf.GetCommandFile


GetCommandStringFromIndex[edit]

function string GetCommandStringFromIndex (int CommandIndex)


GetDebugInformation[edit]

function GetDebugInformation (U2NPCControllerScriptable NPC, out array<stringReturnedStrings)

Overrides: ScriptControllerInterf.GetDebugInformation


GetDebugInformation1[edit]

function string GetDebugInformation1 ()


GetDisabledInformation[edit]

function GetDisabledInformation (out array<stringReturnedStrings)


GetEventIndex[edit]

function bool GetEventIndex (name EventName, out int Index)


GetEventInformation[edit]

function GetEventInformation (out array<stringReturnedStrings)


GetFoundActor[edit]

function Actor GetFoundActor ()


GetLabelIndex[edit]

function int GetLabelIndex (string LabelName)


GetScriptContextStr[edit]

function string GetScriptContextStr (optional bool bMinimal)


GetTimerInformation[edit]

function GetTimerInformation (out array<stringReturnedStrings)


GetTriggerInformation[edit]

function GetTriggerInformation (out array<stringReturnedStrings)


HandleAddTimer[edit]

function HandleAddTimer (int Index, float Frequency)


HandleCallOrGotoLabel[edit]

function HandleCallOrGotoLabel (bool bResult, string BranchStr)


HandleOnEvent[edit]

function HandleOnEvent (int NewCommandIndex, optional bool bInterrupt)


HandleRemoveTimer[edit]

function HandleRemoveTimer (int Index, bool bClearTrigger)


HandleScriptError[edit]

function HandleScriptError ()


HandleTimer[edit]

function HandleTimer (int TimerIndex)


HandleTimeRemaining[edit]

function float HandleTimeRemaining (int Index)


IdiotCheckCommandsList[edit]

function bool IdiotCheckCommandsList ()


InitCommands[edit]

function bool InitCommands ()


InitEventsIndices[edit]

function InitEventsIndices ()


InitializeScriptController[edit]

function InitializeScriptController (U2NPCControllerScriptable Owner)

Overrides: ScriptControllerInterf.InitializeScriptController


LoadCommands[edit]

function bool LoadCommands ()


MakeECErrorObvious[edit]

function MakeECErrorObvious ()


ParseArgs[edit]

function ParseArgs (bool bStartup)


PopCommandIndex[edit]

function int PopCommandIndex ()


ProcessExecGotoActor[edit]

function bool ProcessExecGotoActor (Actor TargetActor)


PushCommandIndex[edit]

function PushCommandIndex (int CommandIndex)


RegisterDecodeError[edit]

function RegisterDecodeError (string Error)


ResetScriptController[edit]

function ResetScriptController ()


ResumeExecuting[edit]

function ResumeExecuting ()


ResumeProcessing[edit]

function ResumeProcessing ()


RunTimeTarget[edit]

function bool RunTimeTarget (name TargetName)


ScriptError[edit]

function ScriptError ()


SetCommandFile[edit]

function SetCommandFile (string NewCommandFileName)

Overrides: ScriptControllerInterf.SetCommandFile


SetCurrentCommandIndex[edit]

function SetCurrentCommandIndex (int DestinationIndex)


SetEventIndex[edit]

function SetEventIndex (name EventName, out int EventIndex)


SetScriptError[edit]

function SetScriptError (coerce string Msg)


SetStartLabel[edit]

function SetStartLabel (string NewStartLabelName)

Overrides: ScriptControllerInterf.SetStartLabel


ShowProgress[edit]

function ShowProgress ()


ShowWarning[edit]

function ShowWarning (string Msg, int CommandIndex)


UpdateTarget[edit]

function bool UpdateTarget (name TargetName)


WeaponSupports[edit]

function WeaponSupports (out array<nameWeaponsList)