Change Battle Model
Change Battle Model¶
Changes the battle model of an actor to a different sprite or model.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Battle Model | The sprite or model to use as the battle model for the target actor. | Sprite or Model |
| Target | The actor whose battle model will be changed. | Actor Reference |
Examples¶
Change Entity 0 Battle Model¶
This changes the battle model of entity 0 to the specified model file.
{"Data":{"CharacterModel":{"Animation":null,"BackfaceCullingMethod":0,"HueShift":0,"IsCycling":0,"IsModel":0,"Name":"Battlers/Warrior.gltf","SpriteBorderThickness":0,"SpriteDuration":100,"SpriteFrames":3,"SpriteLayers":{},"SpriteOrientation":4,"SpriteOrientedAroundCenter":1,"SpriteRegion":"0,0,0,0","UseSpriteLayers":0,"Scale":"1,1,1","Translation":"0,0,0"},"Target":{"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"IsEntity":1,"IsIdentifiedByUniqueID":0,"IsPartyMember":0,"IsSelf":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Entity.EntityChangeBattleModelCommand"}