germs Posted April 20, 2021 Share Posted April 20, 2021 Hi there,  Is there way to trigger event when target is hit by projectile?  Example, shoot projectile -> hit target -> event run that warp target to different location  I try in Spell Editor with Type: Event, Target Type: projectile, Event (my created warp event) but when cast this spell it only warp the caster.  Thank you your time! Link to comment Share on other sites More sharing options...
0 Weylon Santana Posted April 20, 2021 Share Posted April 20, 2021 Try to do the following I do not know if it will work I have not tested. Â Create a common event, let's call it "event" Create an spell type event, let's call it "spell" Create a projectile, let's call it "proj" Â In the "proj" place "collision of spells" choose the spell "spell" This means that when the target is hit, the spell will be cast. In the event spell, choose the common event "event" Â In theory: 1 - the projectile will hit the player and cast the spell 2 - the magic will conjure the event 3 - the event should apply the warp effect you want But in theory everything is beautiful, in practice not so much. Link to comment Share on other sites More sharing options...
0 germs Posted April 22, 2021 Author Share Posted April 22, 2021 thank you your response  i try this one but unsuccessful unfortunately. i wonder if it is possible? or i must look to edit source code  thanks! Link to comment Share on other sites More sharing options...
0 Blinkuz Posted April 22, 2021 Share Posted April 22, 2021 I am working on a type of buff for my ninja game where the user is transported behind the enemy when he receives an impact either from a projectile or a physical blow or with weapons, all this modifying the source, so the short answer is YES , You will need to modify the source to achieve this type of skills, a tip is to reuse the existing skills system, what I will do is create a new status effect and I will take advantage of all the operation of the buffs that exist, then I will have a separate skill that is The one that is in charge of teleportation and will launch it when the user receives the damage if the buff is active. Link to comment Share on other sites More sharing options...
Question
germs
Hi there,
Â
Is there way to trigger event when target is hit by projectile?
Â
Example, shoot projectile -> hit target -> event run that warp target to different location
Â
I try in Spell Editor with Type: Event, Target Type: projectile, Event (my created warp event) but when cast this spell it only warp the caster.
Â
Thank you your time!
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now