Skip to content

Custom Enemy Speed ABI V2#5

Merged
Kerr1291 merged 1 commit into
Kerr1291:masterfrom
natis1:master
Jul 14, 2018
Merged

Custom Enemy Speed ABI V2#5
Kerr1291 merged 1 commit into
Kerr1291:masterfrom
natis1:master

Conversation

@natis1
Copy link
Copy Markdown
Contributor

@natis1 natis1 commented Jul 14, 2018

Adds greatly increased versitility by letting the user update the speed of OTHER gameobjects, as well as the speed of a setvelocity2d. Also you can update a custom index if you know what the index is. Finally, FSM actions are now cached inside the struct. This is possible thanks to the new struct constructors which make much more sense than assigning struct values by hand (which you can still do).

There is only one breakage and that was the rename of updateDanceSpeed to UpdateDanceSpeed to fit the naming conventions of ModCommon.

Also FsmUtil GetAction was modified to not break if the fsm you pass it is null.

Adds greatly increased versitility by letting the user update the speed of OTHER gameobjects, as well as the speed of a setvelocity2d. Also you can update a custom index if you know what the index is. Finally, FSM actions are now cached inside the struct. This is possible thanks to the new struct constructors which make much more sense than assigning struct values by hand (which you can still do).

There is only one breakage and that was the rename of updateDanceSpeed to UpdateDanceSpeed to fit the naming conventions of ModCommon.

Also FsmUtil GetAction was modified to not break if the fsm you pass it is null.
@Kerr1291 Kerr1291 merged commit cb6047d into Kerr1291:master Jul 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants