🔰IDs
IDs for everyone!
Last updated
IDs for everyone!
Last updated
IDs are Scriptable Objects with an Int value to easily identify or assign an unique identifier to States, Stances, Modes, Stats, Actions.
To Find all the IDs use the Menu [Tools -> Malbers Animations -> Show All IDs]
They are here to make your life easier and you don't have to remember which is the value of the Locomotion State, The Action Mode .. or the Combat Stance.
Here are the Name of the ID Values of each IDs created for the Animal Controller; in case you need to know them for each ID created for the Controller:
Name
ID
Idle
0
Locomotion
1
Jump
2
Fall
3
Swim
4
Underwater
5
Fly
6
Climb
7
Grab Ledge
8
Slide
9
Death
10
Glide
11
To Create a new State ID go to Assets > Create > Malbers Animations > ID > State ID
You can also access these values via script using StateEnum
static class.
E.g. : StateEnum.Fly
Name
ID
Attack1 (Main Attack)
1
Attack2 (Secondary Attack)
2
Damaged
3
Action
4
Dodge
5
Air Attack (Aerial Main Attack)
6
You can also use the Ability Status of any Mode as IDs to change it at run time
Mode Ability Status
ID
Play one Time
0
Hold by Input
1
Hold by Time
2
Toggle
3
To create a new Mode ID go to Assets > Create > Malbers Animations > ID > Mode ID
You can also access these values via script using ModeEnum
static class.
E.g. : ModeEnum.Action
Name
ID
Default
0
Sneak
1
Combat
2
Wounded
3
Stand
4
Roll
6
Crouch
7
To create a new Stance ID go to Assets > Create > Malbers Animations > ID > Stance ID
Name
ID
Health
1
Stamina
2
Mana
3
Air
4
Hunger
5
Thirst
6
Noise
7
To create a new Stat ID go to Assets > Create > Malbers Animations > ID > Stat ID
Name
ID
Stun
1
Eat
2
Pet
3
Level Up
4
Talk
5
Sleep
6
Drink
7
Seat
8
Crawl Under
9
Dig
10
Lie
11
Stand
12
Push Stand
13
--
--
Enter Hole
15
Roar Caw Howl
20
Perching
21
-----------------------
--
Happy
101
Sad
102
Angry
103
Scared
104
Sick
105
Confuse
106
Say Yes
107
Say No
108