Change Character Model
Change Character Model¶
Changes the character model of an actor to a different sprite or model.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Character Model | The sprite or model to use as the character model for the target actor. | Sprite or Model |
| Target | The actor whose character model will be changed. | Actor Reference |
Examples¶
Change Entity 0 Character Model¶
This changes the character model of entity 0 to the specified model file.
{"Data":{"CharacterModel":{"Name":"","Animation":"","Model":"Characters/Hero.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.EntityChangeCharacterModelCommand"}