ID:156992
 
What I would like to do is Make a ShockWave the pushes other mobs away And damages them I saw A demo for shock waves but idk how to make it damage or push lol I dont feel like looking for abunch of demos to combine through copy and paste i wanna code this from Scratch is there ANYWAY to approach this I wanna code from scratch but the shockwave demo confuses me lol Hopefully someone can respond soon im gonna be experimenting Im not sure I think it has to do with the Obj and making that Damage/Push ppl but not sure in the slightest
You could have them step away from the object if it bumps them. As for doing damage, that should be fairly easy if you put any effort in or know anything about the language, it is simply subtracting a value from a variable.
In response to Darkjohn66
Ahh your not getting it lol I now how to do them seperate im trying to combine push and damage elements with a shockwave while trying to get as little errors as possible xD
In response to DarkDevilBat
Make your usual Damage procs etc, then your bump and push stuff and just get them called on cast.

i deleted the game i had that had a similar system to what you want so i cant demo it precisely for you soz
DarkDevilBat wrote:
" I dont feel like looking for abunch of demos to combine through copy and paste i wanna code this from Scratch is there ANYWAY to approach this I wanna code from scratch but the shockwave demo confuses me lol"

What Dark said.
I would handle it in these steps:
Create a separate proc for Damage.
Create the "Shockwave" proc and have it push via step_away() the mobs in orange() of the src.
Then have the mobs being pushed call the Damage proc.

There's not really any way to say it otherwise, unless you wanted to post this in Code-Problems, given you have a snippet already, or Classified Ads to get someone to do something for you, usually in return for compensation or visible credit.
In response to Midgetbuster
Midgetbuster wrote:
Make your usual Damage procs etc, then your bump and push stuff and just get them called on cast.

i deleted the game i had that had a similar system to what you want so i cant demo it precisely for you soz

well thats find thank you all for your help ^ ^ much appreciated the fact that you had something similar lets a noob like me no it can be done xD