YesNoOk
avatar

[Ikemen GO] Having trouble with redirecting the opponent into a hitstate (Read 6366 times)

Started by Amidweiz, April 02, 2022, 07:32:52 pm
Share this topic:
[Ikemen GO] Having trouble with redirecting the opponent into a hitstate
New #1  April 02, 2022, 07:32:52 pm
  • ****
  • Hey four stars, whatever that means
    • Canada
    • amidweiz.neocities.org
Remember this is in the context of ikemen GO, in which I am utilizing some of it's features. I am trying to make dio brando by waruski3 be able to hit opponents within his time stop super, who happen to have no blue hitboxes during moves. I have so far come put with a solution involving a helper and detecting when said helper goes into [Statedef 1338] (mainly because upon how you have to do redirected helper states in Ikemen GO). Afterwords deleting itself so the opponent in pause would get hit by dio no problem. I did a generic example within KFM to test and it functions as I want it to.

Spoiler: Code in test KFM (click to see content)
https://cdn.discordapp.com/attachments/562828620935069711/959854298630606888/kfm_hitbox_giver.zip

However when I did said implementation within dio within the -2, where said helper would be spawned. The effect of redirecting the opponent to the hitstate does not work.
Spoiler: Dio's code (click to see content)
https://cdn.discordapp.com/attachments/562828620935069711/959854538347647027/dio_hitbox_giver.zip

EDIT:
Thanks to Wreq! on the Ikemen discord for telling me how to fix this
Code:
[State -2, Change new helper to our own state 1337]
type = selfstate
triggerall = enemy,numhelper(1337) = 1
trigger1 = enemy,helper(1337),stateno = 0 && enemy,helper(1337),stateno != 1337
value = 1337
readplayerid = id
redirectid = enemy,helper(1337),id
Last Edit: April 03, 2022, 06:41:31 pm by Amidweiz