Recent content by Weyird

  1. W

    Remove specific "Unit takes damage" event

    Hi, I've got a map and a damage detection system in which every time a unit gets created it is added as a "(last unit created) takes damage" event to another trigger. But these are just creeps and there are going to be lots of them. The problem is that I can't find a "remove event from trigger"...
  2. W

    Triggered crits and evasion

    As the title says. I want to make crit and evasion chance based on agility. For example, an agility of 20 means 20% chance to do double damage, and 20% chance to evade. 1) What event would need to be used 2) what action would enforce it? Triggering to give 100% chance crit or evade and then...
  3. W

    Attack-Move Woes

    Ok, set the guard distance to way bigger and it works fine now. Thank you :)
  4. W

    Attack-Move Woes

    I've had this problem in many maps I made where i trigger a wave of creeps to attack move to a certain point. Quite often, on the way there, they'll suddenly turn tail and move back to where they started. I've tried issuing attack move, patrol, and attack ground. I don't know why they flee...
  5. W

    Custom script leak removal for an array

    OK oops, found my mistake. I Just copied&paste the previously pro-offered script, but didnt notice the variable was PlayerSelection not Player_Selection Here's the relevant part of the trigger anyway, just to make sure if it'll work: Game Controls Events Unit - A unit Starts...
  6. W

    Custom script leak removal for an array

    WorldEditor is alerting me that both of those have errors :( It says it expected a name
  7. W

    Custom script leak removal for an array

    Hi there, I'm making a map involving the control of very large numbers of units and to make things easier for players I've handily supplied them with a "Game Controls" unit that has abilities to select all the units in an area into a custom unit-group, and then other abilities will be used to...
  8. W

    How to add/remove unit to/from build ability ?

    You could also trigger to limit the training of certain types to 0
  9. W

    Issue Order "Cancel"

    Aha! Thank you victorpapa; so that's where Cancel is hiding!
  10. W

    Issue Order "Cancel"

    Hi there, I can't find any action which would cause a unit to cancel. I've tried Stop, but that didn't work. To explain; I'm making a risk-type map and players can raze villages that they're about to loose. The razing process is mechanically an upgrade to the razed unit. The razed unit can...
  11. W

    Does this trigger leak

    As the title says, just want to know if this leaks. It's the type of trigger that'll run often, with every single selection event in the whole game. Also, is there a better way to do it? Just to explain, there's a broken scout tower that a player can repair if they want. This trigger is so that...
  12. W

    Changing resource icons (cost)

    Ah, thanks guys - specifically GFreak. It wasn't just under "Icon" but under "Image" as well, right at the bottom, "Image - Tooltip Gold Icon" and lumber.
  13. W

    Changing resource icons (cost)

    Change the UI? If you mean Anvanced > Game Interface then yes, I've been looking in there but can't find an icon for the cost. I've already changed the top toolbar icon in the game interface. And sorry about spamming the same topic, that was an accident. I wasn't even aware it'd happened...
  14. W

    Changing resource icons (cost)

    Hey, could somebody please tell me how to change the resource icons when you try and buy/train something? Its easy enough changing the gold and lumber icons at the top of the screen, and changing the text, but when i train a unit in my map the cost icon still shows a gold coin and a little tree...
  15. W

    Changing resource icons (cost)

    Hey, could somebody please tell me how to change the resource icons when you try and buy/train something? Its easy enough changing the gold and lumber icons at the top of the screen, and changing the text, but when i train a unit in my map the cost icon still shows a gold coin and a little tree...
Top