Ejemplo n.º 1
0
 public UnitDisableMovementScript()
 {
     DisableMovement = true;
     DisableRotation = true;
     DisableAbilities = true;
     Units = new SingleUnitGroup { Unit = "MainCharacter" };
     StopMovement = true;
 }
Ejemplo n.º 2
0
 public PlayAnimationScript()
 {
     Units = new SingleUnitGroup { Unit = "MainCharacter" };
     Animation = UnitAnimations.MeleeThrust;
     Loop = false;
 }
Ejemplo n.º 3
0
 public SetPropertyScript()
 {
     TickPeriod = 0.5f;
     NUses = -1;
     Units = new SingleUnitGroup();
     Property = new UnitStateProperty { State = UnitState.Dead };
 }
Ejemplo n.º 4
0
 public InvisibleWallScript()
 {
     TickPeriod = 1;
     Target = new SingleUnitGroup { Unit = "MainCharacter" };
 }