[Trigger] Requesting A Trigger

Status
Not open for further replies.
Level 5
Joined
Mar 24, 2008
Messages
98
Hmmm.. I already saw some Melee Attack systems which are based from their main attribute.. Like a 3d Person Melee attack System..

Now, I wanna request a GUI/MUI 3rd Person Range Attack System..
I can do the Melee attack system but, Its really hard for me on thinking on how I'm gonna do that Range System...

Like when you click A, A beam/Bullet shoots in front of the Shooter and damage the one who gets near it based from its Stats.

If anyone can do this.. It would be really Appreciated ^^
 
Event: Unit begins casting an ability
Condition: Ability being cast == (hotkey A)
Action: Create dummy unit at position of casting unit facing (facing of casting unit)
Order last created unit to breath of fire (position of casting unit offset by 500 units towards facing of casting unit)
Remove last created unit from the game.

Hope that helps.
 
I can think of 3 ways but none are pretty. Either make the dummy breath of fire spell have tons of levels that have different amounts of damage (and set level of abil b4 casting), pick units in a circle every x distance from facing and deal damage, or get which units have a buff after the dummy breath of fire casts and deal damage.
 
Order the dummy to move there instead (make it the bullet). Then do:
  • Actions
    • Custom script: set bj_WantDestroyGroup = true
    • Unit Group - Pick every unit in Playable Map Area
      • Loop - Actions
        • Trigger - Add to DamagePlayer1 the Event (Picked Unit within Range of Last Created Unit(bullet))
And in another one do the damage, with condition ally of player and effect damage (but no event). Do this for every player.
 
Status
Not open for further replies.
Back
Top