Unstable 0.16.2.0
This commit is contained in:
+7
-1
@@ -422,7 +422,7 @@ namespace Barotrauma
|
||||
case "wait":
|
||||
newObjective = new AIObjectiveGoTo(order.TargetSpatialEntity ?? character, character, this, repeat: true, priorityModifier: priorityModifier)
|
||||
{
|
||||
AllowGoingOutside = character.Submarine == null || (order.TargetSpatialEntity != null && character.Submarine != order.TargetSpatialEntity.Submarine)
|
||||
AllowGoingOutside = true
|
||||
};
|
||||
break;
|
||||
case "return":
|
||||
@@ -468,6 +468,12 @@ namespace Barotrauma
|
||||
case "fightintruders":
|
||||
newObjective = new AIObjectiveFightIntruders(character, this, priorityModifier);
|
||||
break;
|
||||
case "assaultenemy":
|
||||
newObjective = new AIObjectiveFightIntruders(character, this, priorityModifier)
|
||||
{
|
||||
TargetCharactersInOtherSubs = true
|
||||
};
|
||||
break;
|
||||
case "steer":
|
||||
var steering = (order?.TargetEntity as Item)?.GetComponent<Steering>();
|
||||
if (steering != null) { steering.PosToMaintain = steering.Item.Submarine?.WorldPosition; }
|
||||
|
||||
Reference in New Issue
Block a user