Skip to content

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.

change_battle_model(entity(0), "Battlers/Warrior.gltf");
{"Data":{"CharacterModel":{"Name":"","Animation":"","Model":"Battlers/Warrior.gltf","IsModel":true,"Metadata":null},"Target":{"ReferenceType":0,"Index":0,"IsSelf":false,"IsEntity":true,"IsPartyMember":false,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Entity.EntityChangeBattleModelCommand"}