3 [
Attribute(
"", UIWidgets.EditBox,
"Lock name")]
4 protected string m_lockName;
9 [
Attribute(
"1", UIWidgets.EditBox,
"Max Allowed Holders")]
10 protected int m_maxAllowedHolders;
13 override bool VisibleInPalette()
19 protected static ref TStringArray s_aVarsIn = {
22 override TStringArray GetVariablesIn()
29 override protected string GetNodeMiddleText()
31 return "Lock name : " + m_lockName;
34 override void OnEnter(AIAgent owner)
37 GetVariableIn(
"LockNameIn",lockName);
39 m_lockName = lockName;
41 if (AIGroup.Cast(owner))
48 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
55 return ENodeResult.RUNNING;
58 return ENodeResult.SUCCESS;
61 return ENodeResult.FAIL;