Recent content by Xan_Kriegor

  1. X

    Can Armor be Calculated?

    This is not a good solution, but it *might* work okay. First, do your units basically all have the same armor type/do you care about armor type? If not, that simplifies it a bit. Basically what you could do is have a dummy unit with a specific attack damage (say, 10) and type (depending on how...
  2. X

    DotA-like custom map problems

    Making an Engineering Upgrade (hereafter EU) for his ult should work just fine, I threw some stuff together in a basic testmap and had multiple EU abilities on the same hero at once. You'll want to make a total of 3 EUs: his basic one that is his ult, one that is the scepter version with the one...
  3. X

    Unable to add units to unit group

    Alright, that's my issue. But now I'm curious because I've already destroyed and reused the same group a few times before this trigger runs and the previous triggers work fine: I can't add units to the destroyed group but I can set it to a new group and it will work fine after that, correct...
  4. X

    Unable to add units to unit group

    In one of my triggers I (attempt to) add a unit to a unit group. Immediately after (next line in trigger) I do an integer comparison to see if the unit group is empty or not, and it always returns empty. Not only this, but I have debug text to make sure I'm referring to the unit correctly (spits...
  5. X

    System Anti share item

    I made some very basic triggers for it that should suit your needs. It uses the item's custom value so if you're using that already you'll need to switch to a hashtable or something (though that may be overkill). This implementation allows sharing of items between the same player's units if they...
  6. X

    Derp.

    Derp.
  7. X

    I can change this now in User CP.

    I can change this now in User CP.
  8. X

    True Sight and Fogged Unit

    Just to clarify, your problem is that when the Seeker has some form of Truesight, that invisible buildings will show up through walls, trees, fog of war, etc. and once found are permanently displayed there until destroyed? The solution to that is to go to each building you have and under Stats...
  9. X

    Unit visibility

    Got it! Researched some stuff, came up with using GetLocalPlayer() to change the alpha transparency of the units. Sadly my top choices for models didn't work due to the model not being entirely hidden even with 100% transparency, but lightning shield apparently works so I'm happy. For those...
  10. X

    Unit visibility

    Yes, that's what I meant. This time I'll clarify with an example :P : PlayerA's and PlayerB's heroes are standing next to each other. PlayerA says in chat "-range 500". There is now some kind of special effect showing PlayerA a circle of range 500 around his hero. PlayerA can see this circle...
  11. X

    Local variable not working

    I have a pretty basic trigger here that for some reason just won't compile: Phase Warp Activate Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Phase Shift Actions Game - Display to (All players) the text: Phase Warp Active. Custom script: local unit...
  12. X

    Unit visibility

    To clarify what I mean, I don't want to change how far the units can see. I want a graphical effect (such as spinning orbs out at x distance) to show where x distance away is, that only shows up for each player individually. Any ideas?
  13. X

    Unit visibility

    What sort of ways are there to manipulate a player's visibility of units? Obviously there's the spell Invisbility, but in maps like DotA they have certain effects that show up only to certain players. What I would like to do is have something that shows a certain range away from the players'...
  14. X

    Need help with switchable Job System

    I don't know exactly how to do it, but someone else on here can probably tell you: there's some way using triggers with spellbooks to add an ability to a specific units spellbook (granting the soldier their job ability) and not other units with the same spellbook. Effectively adding the ability...
  15. X

    Condition help.

    I think the condition you're looking for is this: ((Triggering Unit) is a Hero) Equal to True
Top