System Heal

tooltiperror

Super Moderator
Reaction score
231
Why not try to make it an independent library of Event?
 

tooltiperror

Super Moderator
Reaction score
231
I`ve, personally, always found more requirements as a turn off.
 

Lyerae

I keep popping up on this site from time to time.
Reaction score
105
Yeah. It's a little annoying sometimes to have to import a system you weren't originally planning on using
 

quraji

zap
Reaction score
143
There's no reason that this shouldn't use Event. It should however note that it requires it in the post and provide a link.
 

tooltiperror

Super Moderator
Reaction score
231
Also.

JASS:
//
//      @@   @@   @@@@@@    @@@    @    
//      @@   @@   @@       @   @   @
//      @@@@@@@   @@@@@   @ @@@ @  @
//      @@   @@   @@      @     @  @
//      @@   @@   @@@@@@  @     @  @@@@@@@@


The L looks a bit long.
 

tooltiperror

Super Moderator
Reaction score
231
I suggest you re-realease a healing snippet, with just a global heal with no healer, and one that uses a healer and a healed unit. Then, you can just add to that over time, and it may be approved quicker.
 

kingkingyyk3

Visitor (Welcome to the Jungle, Baby!)
Reaction score
216
I suggest you re-realease a healing snippet, with just a global heal with no healer,
JASS:
call HealUnit(target,target,1.,HEAL_TYPE_NORMAL)
 

Kenny

Back for now.
Reaction score
202
I think you really need to change your:

JASS:
public function GetTriggerUnit takes nothing returns unit


To:

JASS:
public function GetTarget takes nothing returns unit


To match the rest of the system.

And maybe change:

JASS:
static method make takes nothing returns thistype
    set Counter = Counter + 1
    return Counter
endmethod


To:

JASS:
static method register takes nothing returns thistype
    set Counter = Counter + 1
    return Counter
endmethod


To me, register makes much more sense, and looks nicer.
 

tooltiperror

Super Moderator
Reaction score
231
I think you really need to change your:
JASS:

static method register takes nothing returns thistype
    set Counter = Counter + 1
    return Counter
endmethod

To me, register makes much more sense, and looks nicer.
Can`t that be inlined?

JASS:

static method register takes nothing returns thistype
     return Counter + 1
endmethod
 

tooltiperror

Super Moderator
Reaction score
231
JASS:

 function colorString takes string whichString returns string
     return |CFFFF0000+whichString+|R
 endfunction


Returns red, though.
 

BRUTAL

I'm working
Reaction score
118
So?
Thats because there is a colour code in front of it.
Counter+1 will just return the value of counters plus one, not increase it by one.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Sunday!
    +1
  • ToshibaNuon ToshibaNuon:
    Happy sunday!
    +2
  • The Helper The Helper:
    And its Friday!
  • The Helper The Helper:
    Happy Saturday!
    +1
  • V-SNES V-SNES:
    Happy Saturday!
  • The Helper The Helper:
    Happy Monday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    Happy Friday!
    +1
  • tom_mai78101 tom_mai78101:
    Starting this upcoming Thursday, I will be in Japan for 10 days.
  • tom_mai78101 tom_mai78101:
    Thursday - Friday will be my Japan arrival flight. 9 days later, on a Sunday, will be my return departure flight.
    +2
  • The Helper The Helper:
    Hope you have safe travels my friend!
    +1
  • vypur85 vypur85:
    Wow spring time in Japan is awesome. Enjoy!
  • The Helper The Helper:
    Hopefully it will be more pleasure than work
  • vypur85 vypur85:
    Recently tried out ChatGPT about WE triggering. Wow it's capable of giving a somewhat legitimate response.
  • The Helper The Helper:
    I am sure it has read all the info on the forums here
  • The Helper The Helper:
    i think triggering is just scripting and chatgpt is real good at code
  • vypur85 vypur85:
    Yeah I suppose so. It's interesting how it can explain in so much detail.
  • vypur85 vypur85:
    But yet it won't work.
  • The Helper The Helper:
    it does a bad ass job doing excel vba code it has leveled me up at my job when I deal with excel that is for sure
  • vypur85 vypur85:
    Nice! I love Excel coding as well. Has always been using Google to help me. Maybe I'll use ChatGPT next time when I need it.
  • The Helper The Helper:
    yeah whatever it puts out even if it is not perfect I can fix it and the latest version of chatgpt can create websites from pictures it will not be long until it can do that with almost all the tools
    +1
  • The Helper The Helper:
    These new Chat AI programs are going to change everything everyone better Buckle the Fuck Up!
  • The Helper The Helper:
    oh and Happy Tuesday Evening! :)

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top