• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
BPower
Reaction score
106

Profile posts Latest activity Postings Experience Albums Resources About Medals

  • and, I hope you will reply my VM someday. So I will know that you are okay with me. :)
    hey, I'm sorry about my last post there. That doesn't mean to offend but, you know, it's hard to remember our spaggheti code after not working on it for 1 month or more :p
    I noticed your AI system is on pause :'(
    Anyhow i will let you know when i update mine so you can moderate it.
    Hello BPower

    Your request in my Spell is
    Dummy Caster


    ----------
    The problem with this is that it will work sometimes. The reason it does not always work is that to cast breath of fire it uses a specific point. This means that the dummy unit has to turn to face the point it is casting. It can't turn fast enough so by the time you use the change ownership to neutral the cast command has never been completed and is cancelled.
    ----------
    Deathismyfriend told me this is buggy

    PLEASE PM ME!

    Thank You!
    Hello BPower

    Your request in my Spell [Spirit of Fire]

    ----------
    Good way to use a dummy caster:
    Example
    Events
    Map initialization
    Conditions
    Actions
    -------- Needs ability locust and should use the model file dummy.mdx --------
    Custom script: set udg_DummyCaster = CreateUnit(Player(15), udg_DummyCasterId, 0,0,0)

    Loop
    Events
    Conditions
    Actions
    -------- Actions before --------
    Unit - Move DummyCaster instantly to MyPoint
    -------- Owner of caster may be stored in a player variable. --------
    Unit - Change ownership of DummyCaster to (Owner of (Triggering unit)) and Retain color
    Unit - Order DummyCaster to Human Mountain King - Storm Bolt (Picked unit)
    -------- Owner of caster may be stored in a player variable. --------
    Unit - Change ownership of DummyCaster to Neutral Passive and Retain color
    -------- Actions after --------
    ----------
    I try it but does not work


    -------- ======================== --------
    -------- Fire Breath Function: --------
    Set SoF_TempLoc2 = (Position of SoF_PLDummy[SoF_TempInt])
    Unit - Move SoF_DummyCaster instantly to SoF_TempLoc2
    Unit - Change ownership of SoF_DummyCaster to SoF_Player[SoF_TempInt] and Retain color
    Unit - Order SoF_DummyCaster to Neutral Pandaren Brewmaster - Breath Of Fire ((Position of SoF_PLDummy[SoF_TempInt]) offset by 100.00 towards SoF_FireBallAngle[SoF_TempInt] degrees)
    Unit - Change ownership of SoF_DummyCaster to Neutral Passive and Retain color


    :eekani: can you explain this?

    Thank You!
    I have a question:


    ----------
    In the loop you move the dummy caster unit to the desired point, change ownership to the owner of the casting unit and order the dummy ability
    ----------
    Moving Points is okay.. but
    Why you need to change the owner? if the dummy has set in triggering player?

    Thank You..
    Hello Power :)

    I understand what you said in my Spell

    But

    ----------
    You should use one dummy caster per spell instance or just one for the whole game season. Currently you create one each 0.03 seconds, which causes a huge amount of extra computation time.
    You can ask for help if you don't know how to achieve this.
    ----------
    can you explain to me this? :eekani:
    and can i give an example?

    :wink:Thank You!
    where are you going?

    please, read my last reply on your stun engine, could be one possible glitch.. although I haven't tested it :)
    is that okay to use nested static if?
    static if A then
    static if B then
    else
    endif
    else
    static if C then
    else
    endif
    endif
    I'm ready for that review of my first submitted spell now BPower =)

    Unless your busy of course.
    hey, have just tried to import your stun engine and found that I have to create all udg_ variables manually D:
    I suggest you to add something like variable creator in the demo map ;)
    ----------
    I'll wait for GradientText to be approved before going into this any deeper.
    ----------
    wait, why do you need to wait? It's not a problem to review it now, if it's acceptable, you can accept it later.. :p just asking btw
    I'm not a speed freaky but in this case (chat system), speed is everything or the system will be fail if it causes even a very little lag :p but dont worry, I have figured out the best way to solve my problem.. ;)
    hey, BPow sup?

    I got another simple question.. which is faster?
    loop
    endloop

    loop
    endloop
    // double loop
    or

    loop
    loop
    endloop
    endloop
    //nested

    ex. they got same exit conditions
    :grin:
    I truly understand, it's also useful to check a library is available or not, right? thank you so much..
    oh my, what a link! thank you so much..
    but I still don't get what's the advantage of that static if, is that faster? if yes, so I guess, it's just a very little bit faster..
    hey, may I ask you this?
    what's the advantage of using static if?
    ex.
    static if DEBUG_MODE then
    instead of
    if DEBUG_MODE then
    ?
    thnks before :)
    hey, BPow, I need help here, I have found all Nestharus's resources there and I need his unit indexer (which require a dummy ability) but he did not attach the map there :/ do you have the map? i need it asap :(

    I'm about to implement Bribe's table and Nesth's unit indexer to result most optimized respawn system, my logic said :eek:

    oh, my, I found it in your frozen orb :thumbs_up:
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top