Fix GrantConditionOnDeploy to support multiple sprite bodies

This commit is contained in:
reaperrr
2017-03-31 15:53:51 +02:00
committed by atlimit8
parent 6f19379a2b
commit aa8d9f5dda
5 changed files with 114 additions and 20 deletions

View File

@@ -117,10 +117,10 @@ TTNK:
MaxHeightDelta: 3
RenderSprites:
Image: ttnk
WithMakeAnimation:
GrantConditionOnDeploy:
DeployedCondition: deployed
UndeployedCondition: undeployed
DeployAnimation: make
Facing: 160
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySound: place2.aud
@@ -211,10 +211,10 @@ ART2:
LightAmbientColor: 0.4, 0.4, 0.4
RenderSprites:
Image: art2
WithMakeAnimation:
GrantConditionOnDeploy:
DeployedCondition: deployed
UndeployedCondition: undeployed
DeployAnimation: make
Facing: 96
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySound: place2.aud

View File

@@ -140,6 +140,7 @@ LPST:
RequiresCondition: !undeployed
Range: 8c0
MaxHeightDelta: 3
WithMakeAnimation:
GrantCondition@PREVIEWWORKAROUND:
Condition: real-actor
RenderSprites:
@@ -150,7 +151,6 @@ LPST:
GrantConditionOnDeploy:
DeployedCondition: deployed
UndeployedCondition: undeployed
DeployAnimation: make
Facing: 160
AllowedTerrainTypes: Clear, Road, DirtRoad, Rough
DeploySound: place2.aud