Recent content by rogers

  1. R

    Hashtables and destructibles

    No, that's not what I'm wanting to do. I'm wanting to group gates and, based on a set of conditions, allow players to open those gates individually. EDIT/UPDATE: I actually do not need a hashtable for this because I can just use an array and loop through the array matching it with that value...
  2. R

    Hashtables and destructibles

    I have several (~170) destructible gates that I've placed into a hashtable under a set of parent ids that group them, and I want to be able to open these gates through one of two solutions, depending on which will be easier and use less resources (I'd prefer not to have a bunch of if-statements...
  3. R

    A place to keep gold?

    I'm as confused as he is. Are you saying you want to store actual gold coin items inside of a building? If so, that is fairly simple: give the inventory ability to the Lumber Mill and create the coins. Additionally, if you need to create the coins: instead of wasting triggers, create a shop...
  4. R

    Weird X-ray shows chainsaw blade embedded in neck of tree trimmer

    You're both wrong. He owes the IRS tax money, and there is no chance in hell they're letting him die without paying.
  5. R

    Negative gold resource

    Thanks for the useless response. Appreciate the lack of usable input. It was incorrect the first time, and it is incorrect now.
  6. R

    Negative gold resource

    Incorrect. You can set an integer to a negative value and when they don't have enough gold for something, subtract it from that integer then when they gain money (current gold > 0), take it from that. Gold Negative Events Time - Every .50 seconds of game time Conditions Actions Set UserPlayers =...
  7. R

    Negative gold resource

    I know I can use an integer for this, but I'm not quite sure how to make it work. I'm trying to set a player's gold to negative. And to check every .50 seconds that if they have any money, take it from them and apply it to the negative integer amount. I've tried all sorts of things and can't...
  8. R

    Trigger work on some player only

    Sorry, wasn't paying attention. Yes, that's correct.
  9. R

    Trigger work on some player only

    Have you tried Player - Flag on/off?
  10. R

    Trigger work on some player only

    Are the players using different units than the computer? If so, did you change the "Stats - Gold Bounty Awarded" values in the "Object Editor"?
  11. R

    How to get an integer = elapsed game time ?

    Create a trigger that runs every 1 second and count with int + (int + 1), then use an if statement to check when the int = 720 and run your Set level.
  12. R

    How to make unit become stronger everytime hero is lvl up

    I'm not entirely sure I understand what you're looking for, but it sounds like your next best choice is to add the summoned unit ability to your heroes and change the unit to the type you want, and add the levels to however many levels you need. Even with that you'll have to create a unit for...
  13. R

    Ability detection

    Can you be more descriptive? What do you mean by "register"? Are you wanting to save it to a variable or use it to trigger an event?
  14. R

    How to make unit become stronger everytime hero is lvl up

    It's under "Unit - Generic Unit Event". Events A unit Gains a level You'll probably need a condition to check the level. You can use an integer comparison for that. Maybe something like this: Events Unit - A unit Gains a level Conditions (Level of (Triggering unit)) Equal to 10
  15. R

    What is "factor"?

    Can you be more specific in what factor you're referring to? Damage Factor Medium? Small? Loss Factor? This may help: http://world-editor-tutorials.thehelper.net/uniteditor.php
Top