ID:273799
 
I'm adding a custom clan to a Naruto game of mine that involves the usage of Genjutsu though tags. My problem: I want someone to STEP on it to automatically trigger the tag, and will send the target to a genjutsu. I can locate them fine, but I need to know what I have to do so when someone steps on it...Any ideas?

EDIT:
I'd appreciate an explination on how to do so, if possible. Giving me the codes is no good if I don't understand it...
Destined for Darkness wrote:
I'm adding a custom clan to a Naruto game of mine that involves the usage of Genjutsu though tags. My problem: I want someone to STEP on it to automatically trigger the tag, and will send the target to a genjutsu. I can locate them fine, but I need to know what I have to do so when someone steps on it...Any ideas?

EDIT:
I'd appreciate an explination on how to do so, if possible. Giving me the codes is no good if I don't understand it...



Not sure If I'm right, but maybe if you use the Bump Proc so when they bump into it KABOOM or something, not sure
In response to Chaorace (#1)
Thanks for the quick reply. However, I just looked into the Bump Proc on Dream Maker, and that's only for swapping positions with a dense object and something else, if I read that right...

I'm going to look through more codes for an idea...I think there might be one...can't remember..
Destined for Darkness wrote:
I'm adding a custom clan to a Naruto game of mine that involves the usage of Genjutsu though tags. My problem: I want someone to STEP on it to automatically trigger the tag, and will send the target to a genjutsu. I can locate them fine, but I need to know what I have to do so when someone steps on it...Any ideas?

EDIT:
I'd appreciate an explination on how to do so, if possible. Giving me the codes is no good if I don't understand it...


It's not only for swapping positions. It be used for tons of other things. Ex: Bumping into a dense obj can allow a message to be sent.

Here's what I could come up with.

mob/Bump(obj/GenjutsuTag/N)//This calls the bump proc. When the mob bumps into Genjutsu Tag, it'll lead to a series of events.
if(istype(N))//If it is 'N', meaning if it's the Genjutsu Tag
var/pos = N.loc// Creates the var 'pos', which means the position of the Genjutsu Tag.
usr.loc = pos//Your new location will be 'pos', AKA, the Genjutsu tag. Both you and the tag will be on the same coordinates.
usr.loc= //Genjutus map, that is if you send them to a different for the genjutus or whatever <.<
else ..()

Hope that helps!
In response to Destined for Darkness (#2)
if the ninja in question will be throwing the tags you could edit the thrown objects Bump() proc as they suggested so that when the object strikes a target of type ninja, they will suffer the effects of your genjutsu.