Sorry for making another Chrono Engine thread, there's only so much existing support for it.
Currently, the Chrono Engine's Hookshot feature can pull the player towards any events with the hookshot_collision comment. It can also damage enemies in ABS mode with knockback, as well as pick up item drops.
What I would like to do is have a similar but opposite comment tag for the Hookshot, one that denotes events that would be pulled to the player with the Hookshot, rather than the player being pulled towards it. (For example: A chest on the other side of a chasm that would need to be pulled over in order to open.) Since I'm using the ATB mode instead of ABS, I would also like the Hookshot to be able to pull enemies towards the player to engage a battle.
In a custom "HookShotFix.js" plugin I've been cobbling together, I (apparently?) managed to denote hookshot_collision events as one of two "Pull types" by adding and reading a variable, which would show up in the event editor as something like hookshot_collision : 2:
But beyond being able to make the distinction in code, I have no idea how to actually add the effect I want. Has anyone done something similar to this before in Chrono Engine? Any pointers would be appreciated.
(I'll keep tooling at it on my own and edit this original post with any updates.)
Currently, the Chrono Engine's Hookshot feature can pull the player towards any events with the hookshot_collision comment. It can also damage enemies in ABS mode with knockback, as well as pick up item drops.
What I would like to do is have a similar but opposite comment tag for the Hookshot, one that denotes events that would be pulled to the player with the Hookshot, rather than the player being pulled towards it. (For example: A chest on the other side of a chasm that would need to be pulled over in order to open.) Since I'm using the ATB mode instead of ABS, I would also like the Hookshot to be able to pull enemies towards the player to engage a battle.
In a custom "HookShotFix.js" plugin I've been cobbling together, I (apparently?) managed to denote hookshot_collision events as one of two "Pull types" by adding and reading a variable, which would show up in the event editor as something like hookshot_collision : 2:
But beyond being able to make the distinction in code, I have no idea how to actually add the effect I want. Has anyone done something similar to this before in Chrono Engine? Any pointers would be appreciated.
(I'll keep tooling at it on my own and edit this original post with any updates.)