|
Post by brainyarch on Feb 27, 2023 10:18:25 GMT
Hi, iam new to invector and i am sorry if my question doesn't make any sense.
i want to make bos like og god of war bosses. in og god of war bosses when the bos is dying we have to press button on screen to do execution moves, otherwise the bos wont die. i manage to do one execution move animation using the same trick as the stealth kill add-on. but i cant figure out how to do it consecutively
example : - monster is dying (FSM State Dying) - Press A -> DoExecution1(monster play executionA_Passive, player play executionA_Active), then - Press B -> DoExecution2(monster play executionB_Passive, player play executionB_Active), then - Press C -> DoExecution3(monster play executionC_Passive, player play executionC_Active), monster death
my initial thought was to make three gameObject with Trigger Generic Action each and for each input action it will send message to fsm state [Dying] and if the state receive the message it will transit to next fsm state [Dying 1] and activate next gameObject with Trigger Generic Action and so on until the execution moves finish. Back to my question, is there any trick to send message to fsm state, or is there any other trick to do just like what i want?
i am sorry if i messed up my english, since it's not my first language
|
|