Template On Attack Template 1.30

Discussion in 'Systems and Snippets' started by emjlr3, Feb 2, 2007.

  1. 13lade619

    13lade619 is now a game developer :)

    +399 / 0 / -0
    ..simple case of replacing the function with GetHandleId?..
  2. Gtam

    Gtam Lerning how to write and read!! Yeah.

    +164 / 0 / -0
    Will this work using timer utils instead of CSSafty
  3. RaiJin

    RaiJin New Member

    +40 / 0 / -0
    yes it will you just have to change the function calls
  4. Gtam

    Gtam Lerning how to write and read!! Yeah.

    +164 / 0 / -0
    Ok thx
  5. NetherHawk

    NetherHawk New Member

    +26 / 0 / -0
    hmm emjlr3, is there a way to check that the event damage received is physical?
  6. Romek

    Romek Super Moderator Staff Member

    +961 / 0 / -0
    There's no practical way of doing that, no.
  7. Weep

    Weep Godspeed to the sound of the pounding

    +400 / 0 / -0
    Broken due to outdated CSData. Should work if updated.
  8. kingkingyyk3

    kingkingyyk3 Visitor (Welcome to the Jungle, Baby!)

    +216 / 0 / -0
    Update CSData then it will works fine. It does not broken.
  9. FhelZone

    FhelZone Have a drink of a nice cold mellowberry juice!

    +104 / 0 / -0
    At last got it to work :) This thing is really useful, here's an unofficial update for the map, just updated the cs things no other edits were done. So excited to use it on my map.

    Attached Files:

  10. Scighera

    Scighera New Member

    +0 / 0 / -0
    there is a little imperfection on this template.

    try to test the template with demon hunter. change weapon type to missile, change attack range to 400, change missile speed to 50, change immolation area to 500 and remove manacost in object editor.

    in game turn on demon hunter immolation and simply attack a target. notice that dps from immolation will cause dummy to cast or function to work even the missile is not hitting the target yet.

    so, any dps damage or spell that done before missile hit the target cause dummy to cast or function to work?

    btw, this template is really useful and i hope issue above can be solved... good work and thx...:thup:
  11. emjlr3

    emjlr3 Change can be a good thing Staff Member

    +396 / 0 / -0
    that is correct

    since this is really the only way a GUIer can do on damage effect, absent of a GUI friendly damage detection system, that bug is inherent with the method - not really anything that can be done about it, but I am open to ideas

    I will update the demo map to make it 1.24+ compatible
  12. emjlr3

    emjlr3 Change can be a good thing Staff Member

    +396 / 0 / -0

    syntax in tack, though I can't say I still care for it

    and i agree this is more of a system then a spell - I am going to move it
  13. junicobakura

    junicobakura Member

    +3 / 0 / -0


    The Trigger 'OnAttackTemplate' must have an initialization function called 'InitTrig_OnAttackTemplate'.

Share This Page