Help! Golding system

This is a discussion on Help! Golding system within the Warcraft 3 Custom Maps board part of the Warcraft 3 forum category; Okay, so i've tried like a thousand times to make a trigger when a certain building gets attacked you get ...

Results 1 to 4 of 4
  1. #1
    Sheker is offline Newbie
    Array
    Join Date
    Mar 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0

    Help! Golding system

    Okay, so i've tried like a thousand times to make a trigger when a certain building gets attacked you get gold. I'm trying to make a map with the concept of island defense but the gold mine only needs to get attacked instead of getting targeted with an ability. So whats the triggers to make it that the owner of the attacking unit of a gold-mound gets gold? (I made the gold mound by giving a farm the gold mine model and making it have unlimited hp and not being invulnerable but never run out of hp) I searched it up on google. There was a topic but the tutorial is a file. The file link doesn't work.

  2. #2
    Daniel999's Avatar
    Daniel999 is offline bla

    Array
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    2,182
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    17
    Reputation
    1083
    I've no good idea about map editing etc, but you might want to take a look at this thread:
    http://www.d3scene.com/forum/deprote...you-flexo.html
    This maps are deprotected (and cheats added). There is an Island Defense + Orcs&Elves map. You can open these maps with your world editor and read out the trigger.

  3. The Following User Says Thank You to Daniel999 For This Useful Post:


  4. #3
    Sheker is offline Newbie
    Array
    Join Date
    Mar 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Thank you. I can't download it today because I'm capped - And I don't want to ripoff the Golding system.
    EDIT: Oh yeah, can anyone tell me still?
    Last edited by Sheker; 06-13-2010 at 10:30 AM. Reason: to add a question

  5. #4
    Magnitoo's Avatar
    Magnitoo is offline Hacker
    Array
    Join Date
    Sep 2009
    Location
    I live in a shithole
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    175
    It's pretty simple.

    Make a trigger which basically goes like this:

    Event - Unit blah blah gets attacked
    Condition - Not sure if u want any conditions but in island defense it wud be attacking unit is a builder equal to true
    Action - Set player *then owner of attacking units* gold to +1.

    Here's the proper trigger (what I would do). Not sure if it'll work as I just came up with it.
    Code:
    Golding
        Events
            Unit - Gold Mound<gen> Is attacked
        Conditions
            ((Attacking unit) is A peon-type unit) Equal to True
        Actions
            Player - Add 1 to (Owner of (Attacking unit)) Current gold

Similar Threads

  1. Replies: 4
    Last Post: 11-07-2009, 10:51 PM
  2. island defense golding ability
    By madqc in forum Warcraft 3 Custom Maps
    Replies: 1
    Last Post: 09-01-2008, 06:26 PM
  3. Cash system up again!
    By XplittR in forum Rules/Announcements
    Replies: 33
    Last Post: 08-30-2007, 01:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •