11 if (pInputCtx.GetMeleeAttack())
14 GetCommandModifier_Melee().Attack();
15 pInputCtx.SetMeleeAttack(
false);
22 return GetCommandModifier_Melee().IsMeleeAttackTag();
47 super.OnCommandActivate(pCmdId);
69 if (!currentCmdScripted)
111 loiterCommand.FinishLoiter();
128 private void StartLoiteringRpl(SCR_ScriptedCharacterInputContext inputCtx)
135 protected override bool OnRplSave(ScriptBitWriter writer)
139 writer.WriteBool(
false);
143 writer.WriteBool(
true);
146 inputCtx.OnRplSave(writer);
155 reader.ReadBool(hasLoiterData);
160 inputCtx.OnRplLoad(reader);
163 StartLoiteringRpl(inputCtx);
189 Print(
"Failed to bind scripted static table (see class SCR_ScriptedCommandsStaticTable). This can be caused by missing animation commands, tags, or events in the animation graph.");
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
SCR_AIUtilityComponentClass m_OwnerEntity
ref SCR_ScriptedCommandsStaticTable m_ScrStaticTable
SCR_CharacterCommandLoiter GetLoiterCommand()
void BroadCastLoiterFinish()
void RPC_FinishLoitering_BCNO()
BaseWeaponManagerComponent m_WeaponManager
ref SCR_ScriptedCharacterInputContext m_delayedLoiteringContext
ScriptInvokerInt GetOnCommandActivate()
SCR_ScriptedCommandsStaticTable GetScriptedStaticTable()
void StartCommandLoitering(SCR_LoiterCustomAnimData customAnimData)
CharacterAnimationComponent m_CharacterAnimComp
SCR_MeleeComponent m_MeleeComponent
SCR_CharacterControllerComponent m_CharacterControllerComp
ref CharacterMovementState m_MovementState
ref ScriptInvokerInt m_OnCommandActivate
ref SCR_CharacterCommandLoiter m_CmdLoiter
void Rpc_StopLoiter_S(bool terminateFast)
enum ELoiterCommandState SCR_CharacterCommandLoiter(BaseAnimPhysComponent pAnimPhysComponent, ChimeraCharacter pCharacter, CharacterInputContext pBaseInputCtx, SCR_ScriptedCharacterInputContext pScrInputCtx, SCR_ScriptedCommandsStaticTable pStaticTable, SCR_CharacterCommandHandlerComponent pScrCommandHandler, SCR_LoiterCustomAnimData customAnimData)
void StopLoitering(bool terminateFast)
ScriptInvokerBase< ScriptInvokerIntMethod > ScriptInvokerInt
bool OnRplSave(ScriptBitWriter writer)
event bool HandleMelee(CharacterInputContext pInputCtx, float pDt, int pCurrentCommandID)
bool OnRplLoad(ScriptBitReader reader)
event int SelectMeleeAnimationType()
SCR_ScriptedCharacterInputContext GetScrInputContext()
void SetScrInputContext(SCR_ScriptedCharacterInputContext ctx)
void Update(float timeSlice)
Event methods.
HYBRID_COMPONENT_ICON
Default icon for all components written in script that don't inherit ScriptComponent.
override void OnCommandActivate(int pCmdId)
proto external CharacterInputContext GetInputContext()
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
void RplRpc(RplChannel channel, RplRcver rcver, RplCondition condition=RplCondition.None, string customConditionName="")
RplCondition
Conditional replication rule. Fine grained selection of receivers.
RplChannel
Communication channel. Reliable is guaranteed to be delivered. Unreliable not.