• 🏆 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!
IcemanBo
Reaction score
624

Profile posts Latest activity Postings Experience Media Albums Resources About Medals

  • Hello Iceman :)

    Can you explain to me something..... :/

    What is bj function?

    When you see in the jass form of the GUI

    you can see the bj_blablabla
    like this
    set bj_forLoopAIndex = 1
    set bj_forLoopAIndexEnd = 10
    loop
    exitwhen bj_forLoopAIndex > bj_forLoopAIndexEnd
    set bj_forLoopAIndex = bj_forLoopAIndex + 1
    endloop

    So instead using Integer A / B
    Use Integer Variable like this

    set udg_i = 1
    loop
    exitwhen udg_i > 10
    set udg_i = udg_i + 1
    endloop

    For my knowledge in GUI Coding..

    Integer A / B its slower
    It's in Staff Contact conversation. :( But it's totally fine for me actually, I will judge if it's really needed.
    They think hosting a contest is not an easy thing, I'm not sure tho. But I think keeping track of all contestants' WIPs is not that hard. :/
    They are not even very trusting me to host it, so how can I participate in? Tho I will just watch from behind.
    Hello,

    Perhaps you are interested to participate in Zephyr Contest #12?
    (It's the theme polling thread, link to the contest is available there)
    ----------
    Thread crash could occurs on create method if growUpDuration or growDownDuration is zero (!0 devided by 0 => thread crash). The solution is to skip some/whole actions: if growUpDuration is zero, then the unit scaled up/down instantly, if growDownDuration is zero, then the unit will be reset instantly either, if both of them is zero then don't start the timer at all. I believe you can solve this by yourself actually ;) But the point is 0 means instant
    ----------
    Hey, actually it's not about thread crash but something more important
    lol I checked like 2-3 of the BJs and nothing was different. Seems like I am unlucky with the odds today.
    purpose. I don't see how the position could be the problem. Even if the position would be wrong I would see the text somewhere in the map. Which I don't. Also in GUI we don't use those complicated values, the BJ funcions contain no extra stuff either.

    I might add that the actions are copied from a working GUI trigger of mine, the only difference is that I removed the BJ at the end of the function names.
    inb4 more problems. Now I can't apply velocity and so on to the text.. the text doesn't show up at all. It does show up if I comment out everything bellow the set color though..

    set goldText = CreateTextTag()
    call SetTextTagText(goldText, "+" + I2S(this.gold), 0.023)
    call SetTextTagPos(goldText, x, y, 100)
    call SetTextTagColor(goldText, 255, 255, 0, 0)
    call SetTextTagPermanent(goldText, false)
    call SetTextTagFadepoint(goldText, 1.00)
    call SetTextTagLifespan(goldText, 100.00)
    call SetTextTagVelocity(goldText, 100, 90)
    yeah.. it is already working.. can you explain why when i use Channel as base ability, it wont play the animation?
    but-but-but I tried that! It must have while I added transparency to 255 at the same time..
    I am spawning an item a few lines above that at the same location. And none of those work :s

    set goldText = CreateTextTag()
    call SetTextTagPos(goldText, x, y, 100)
    call SetTextTagText(goldText, "ss", 10)
    call SetTextTagColor(goldText, 255, 255, 255, 75)
    Custom script: call SetUnitAnimationByIndex(udg_HCS_Caster[udg_HCS_Integers[1], 3)

    can you correct me on this?
    Just turning by with a quick question.
    Why wont my texttag show up? I am 100% sure the position is valid.
    set goldText = CreateTextTag()
    call SetTextTagPos(goldText, x, y, 0)
    call SetTextTagText(goldText, "ss", 10)
    call SetTextTagColor(goldText, 255, 255, 0, 0)
    Let's held a zephyr contest on next week or two. I will help you with the judging. If you want to be contestant I can host it for you.
    Reputation (+2):
    (Post) Why do so many insist on buying things? Whatever happened to competing to win? Being born in a rich family isn't a naccomplishment... //\\==//\\
    o_O Cool Coding..

    btw, what purpose of this? using namespace std;

    Professor did not teach that -.-
    o.o

    Set DrkC_TempPoint[2] = ((Target point of ability being cast) offset by DrkC_CCircle_Offset towards DrkC_CCircle_Sub1_Angle[DrkC_XY_TempInt] degrees)

    dafuq

    I forgot to put it in a variable T_T
    Hey I have been reading in the Triggers and Scripts : Trying to learn coding. I noticed you help out there a lot, I wanted to thank you a lot of your help! :grin:
    Well, it gets enough troll-ratings, I can't take anymore D: And before it happens to my Ring Out too, I also close it :D

    By the way, I think I will move on to Sc2 modding shortly. It looks far better than here.
    Hello again,

    Just want to say, keep your second review for later. I was completely forgot that it is my entry for Hero contest, so, no teamwork is allowed ^^
    Depends. If I got some ideas for the contest, then I will join as contestant I guess ^^
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top