public override async Task BuildAsync() { HitAction = await GetBehavior("hit_action"); HitActionEnemy = await GetBehavior("hit_action_enemy"); HitActionFaction = await GetBehavior("hit_action_faction"); }
public override async Task BuildAsync() { Action = await GetBehavior("action"); ActionFalse = await GetBehavior("action_false"); ActionTrue = await GetBehavior("action_true"); Imagination = await GetParameter <int>("imagination"); IsEnemyFaction = (await GetParameter("isEnemyFaction"))?.Value > 0; }
public override async Task BuildAsync() { GroundBehavior = await GetBehavior("ground_action"); JumpBehavior = await GetBehavior("jump_action"); FallingBehavior = await GetBehavior("falling_action"); DoubleJumpBehavior = await GetBehavior("double_jump_action"); JetpackBehavior = await GetBehavior("ground_action"); }
public override async Task BuildAsync() { Action = await GetBehavior("action"); ActionFalse = await GetBehavior("action_false"); ActionTrue = await GetBehavior("action_true"); Imagination = await GetParameter <int>("imagination"); IsEnemyFaction = (await GetParameter("isEnemyFaction"))?.Value > 0; TargetHasBuff = (int?)(await GetParameter("target_has_buff"))?.Value; }
public override async Task BuildAsync() { Lot = await GetParameter <int>("LOT_ID"); Distance = await GetParameter <float>("distance"); ObjectRadius = await GetParameter <float>("objectRadius"); Offset = new Vector3 { X = await GetParameter <float>("offsetX"), Y = await GetParameter <float>("offsetY"), Z = await GetParameter <float>("offsetZ") }; RepositionPlayer = await GetParameter <float>("repositionPlayer"); SpawnFailAction = await GetBehavior("spawn_fail_action"); }
public override async Task BuildAsync() { Action = await GetBehavior("action"); }
public override async Task BuildAsync() { GroundAction = await GetBehavior("ground_action"); }