Wc3 closes by using this?

aki15

New Member
Reaction score
5
I made some item that is this way triggered:
-It should give damage back to attacker
Trigger:
Code:
Counter
    Events
        Game - GDD_Event becomes Equal to 0.00
    Conditions
        (GDD_DamagedUnit has buff Counter Bones ) Equal to True
    Actions
        Unit - Cause GDD_DamagedUnit to damage GDD_DamageSource, dealing (1.50 x GDD_Damage) damage of attack type Spells and damage type Normal
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                GDD_Damage Greater than 50.00
            Then - Actions
                Unit - Set life of GDD_DamagedUnit to ((Life of GDD_DamagedUnit) + 5.00)
            Else - Actions
My wc3 turn off when i use this and someone hit me... ?? WHY? And how to fix?
 

Parsival

Active Member
Reaction score
6
Hi,

You gave us incomplete info. I would need initialization of variables: 'GDD_DamagedUnit', 'GDD_DamageSource' and 'GDD_Event'

This event looks really weird:
Trigger:
  • Game - GDD_Event becomes Equal to 0.00
 

HydraRancher

Truth begins in lies
Reaction score
197
Hi,

You gave us incomplete info. I would need initialization of variables: 'GDD_DamagedUnit', 'GDD_DamageSource' and 'GDD_Event'

This event looks really weird:
Trigger:
  • Game - GDD_Event becomes Equal to 0.00
No, this is WEEP's Damage Detection System. It uses those variables.



Also, your problem is you're creating a fatal error. Try turning the trigger off before you damage them, and turn it back on afterwards.
 

Parsival

Active Member
Reaction score
6
Nonono, this is WEEP's Damage Detection System. It uses those variables.
Lol.

aki15, I think You shall try to find help here.

HydraRancher, why do You send incomplete posts and then edit it after minutes?:(
 

aki15

New Member
Reaction score
5
No, this is WEEP's Damage Detection System. It uses those variables.



Also, your problem is you're creating a fatal error. Try turning the trigger off before you damage them, and turn it back on afterwards.
Hmm, are you sure that this will work?
 

HydraRancher

Truth begins in lies
Reaction score
197
I just posted the problem.

Turn the trigger off before you damage them then turn it back off.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Oh, I see. I thought Chinese version of A-levels :D
  • jonas jonas:
    I've been using the translate app a lot on my phone. take a photo, translate. take another photo, translate again :D
  • jonas jonas:
    it also has voice translation, my colleagues sometimes use that
  • jonas jonas:
    You came during the 0 covid policy right? How'd you get through quarantine? Did you have some help with the apps and green codes?
  • tom_mai78101 tom_mai78101:
    If you have any Chinese you need help with, let me know.
    +1
  • vypur85 vypur85:
    @jonas Those were the things I did too. Translate app and VPN are always the most important things to have to survive. Lol.
  • vypur85 vypur85:
    Yea I came last year. I was quarantined for about 30 days. Fml. The first day of my quarantine was the eve of Chinese new year last year. Fml again... Lol.
  • vypur85 vypur85:
    @tom_mai78101 IIRC you're from Taiwan right.
  • The Helper The Helper:
    I thought China had cracked down on having any foreign teachers?
  • vypur85 vypur85:
    Yeah I've heard of the news before. My school is still actively hiring foreign teachers. Not sure how things work now.
  • The Helper The Helper:
    yeah it is hard to get reliable information about that kind of stuff
  • The Helper The Helper:
    but you are doing it so it is still doable
  • vypur85 vypur85:
    I think it doesn't affect existing foreign teachers. Then again, its still weird that my school is hiring.
  • The Helper The Helper:
    Happy Monday people hope everyone has a fantastic week!
  • Ghan Ghan:
    Happy Monday?! That's a contradiction.
  • jonas jonas:
  • jonas jonas:
    please put this in the news section, it's crazy
  • tom_mai78101 tom_mai78101:
    Technically, you can post in the Headline News. Just posted your news there.
  • tom_mai78101 tom_mai78101:
    I'm not aware of you not being able to post news.
  • jonas jonas:
    I think technically I can I just forget how
    +1
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Happy Friday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday night!
    +1
  • vypur85 vypur85:
    Happy Sunday. Sigh. Work day tomorrow.
    +1

    The Helper Discord

    Members online

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top