what is the trigger tag to be used to detect if the helper is facing the enemy or not?i tried using trigger1 = facing = -1and yes, it only works if I am facing this direction : >>>>>>>>>>>>>>>>>>>>>if i face this direction: <<<<<<<<<<<<<<<<<< ; it no longer works.
which one should i place then? there are so many tags here - there's this enemy tag, but how do i place it?trigger1 = facing != enemy doesn't work >.>trigger1 = facing != target doesn't too..
I assume your helper is striker type helper and not a projectile based one.You may want to use facep2 = 1 in the state definition. It makes your helper face enemy as soon it enters that state.Don't know is this helps you. Is there something that you want to do aside from this? Ask.
Quotetrigger1 = facing != enemy doesn't work >.>trigger1 = facing != target doesn't too..Facing returns either 1 or -1enemy and target do not return integers. That's why it's not working. Read up more in the documentation about redirection (as stated by Rajaa) and the facing trigger.
Yeah, that's not how redirection works. I even posted a link that provides a decent example. Read it.
@RajaaI have read it on it's entirety already, and i have re-read it again. and I find nothing of help from it, obviously. That's why I'm asking here, isn't it? Otherwise I wouldn't have to waste time here asking.. @allanyway, it's like this. the attack comes from a helper, which in turn spawns helpers as projectiles. so, this helper can float in the midair. if i do that helper-projectile spam attack, i wanted it such a way that if the helper... bah, just see the screens. they'll explain it better.any insights, guys?
note that:1) the Kazekage is locked on facing the same direction (where the target was) as long as the Satetsu Shigure attack is in full effect2) the Kazekage (when idle) is always facing the enemy
[redirection trigger], [any trigger besides another redirection trigger]I don't see how the docs doesn't give it away. Think harder.
can you sir give me another example? my brain's going to blow if i read this again for the fifth time.. perhaps a simpler example, such that I can work on a format. thanks
The redirection trigger checks if a trigger is true for an entity that is not from the player using the redirection trigger.Parent, time detects the time of a helper's parent. Parent, stateno detects the state number of a helper's parent. Apply that to the redirection trigger you need. This is really simple.
i think we are talking about different things.let me rephrase my question, sir.what is the tag for me to be able to return a "YES" or a "NO" in a facing-type of trigger?(ie. if trigger1 = *facing enemy* = yes, then triggers)i researched on this facing tag again, and it seems that facing = -1 triggers if the player is facing left of the screen, and facing = 1 does otherwise.please, do not tell me to read the "ENEMY REDIRECTION TRIGGER" blah blah again, I am using this actually for making the puppet move. it's just, apparently, we are talking about different things..helper(43522), facing = -1 or parent, facing = -1 does VERY VERY much the same as what i have now (facing = -1) because all it can detect is "if the player is facing left, then trigger goes boom". I don't need to detect left or right facing, what i need to detect is a Yes or a No.
nvm sir, after playing a little bit with it, i got it correctly nowtrigger1 = p2dist x < 0 && facing = -1 || p2dist x < 0 && facing = 1thanks