Apologies for the week long response, it's currently Finals Week at my college and I haven't had much time to be online. Anyway, "hit_stun" is a Float variable that can be used on a "Timer" node. I don't have a project example I can publicly show, but the idea is if an object's hurtbox touches a hitbox, it sets its Timer node equal to the hitbox's "hit_stun" variable and starts the timer. While the timer is running, the object will no longer be actionable. You can then use the Timer's "timeout" signal to reactivate the player. Hopefully this made things make a bit more sense, and sorry again for taking so long to respond.
← Return to tool
Comments
Log in with itch.io to leave a comment.
how does the Hit Stun value work?
Apologies for the week long response, it's currently Finals Week at my college and I haven't had much time to be online. Anyway, "hit_stun" is a Float variable that can be used on a "Timer" node. I don't have a project example I can publicly show, but the idea is if an object's hurtbox touches a hitbox, it sets its Timer node equal to the hitbox's "hit_stun" variable and starts the timer. While the timer is running, the object will no longer be actionable. You can then use the Timer's "timeout" signal to reactivate the player. Hopefully this made things make a bit more sense, and sorry again for taking so long to respond.
thanks for making this cool plugin :3