Search results

  1. staind25

    Handle of variable unit?

    Gotcha. Can do. Thanks :)
  2. staind25

    Handle of variable unit?

    I'm new to hashtables...was wondering if there's a way to reference a variable unit in the following function: Hashtable - Save 0.00 as 0 of (Key (MyUnit)) in MyTable Is there a way to get the MyUnit variable in there? There doesn't seem to be an option to use unit variables here. I can't just...
  3. staind25

    Make unit unmoveable - but still able to turn

    I actually had this same problem on my map. I ended up setting the unit's movement speed to 1, instead of 0. This fix might only work for my situation, but give it a shot :)
  4. staind25

    How to save only a portion of your map (e.g. Triggers)?

    I think this is probably my best option. Thanks :)
  5. staind25

    How to save only a portion of your map (e.g. Triggers)?

    I have a map with a large number of doodads so it takes way longer than it should to save my map when all I've done is edited the triggers. 90% of my edits at this point are trigger-related. Is there any way I can tell the world editor to only overwrite the triggers, and not everything else...
  6. staind25

    Event - Player X(?) types a chat message

    Is there a way to make it so that the event "Player types a chat message" can be a variable player? That way, I'd be able to do the same actions regardless of what player it was, and it would make it so I wouldn't have to copy/paste the event for 10 players (So tedious!!). I've tried...
  7. staind25

    Fog of War suddenly turning back on?

    I was wondering if that was a problem...since it turns on so randomly it's a bit hard to test. If that could be the cause, I'll give that a shot, since it shouldn't hurt either way :) Thanks!
  8. staind25

    Fog of War suddenly turning back on?

    While playing my map, fog of war will randomly turn on at some point. I have it disabled in Map Initialization. Here are the relevant actions to visibility: Actions Visibility - Disable fog of war Visibility - Disable black mask Melee Game - Use melee time of day (for all players) Any...
  9. staind25

    The Random Generator.

    A little off the purpose of the topic, but if you think about it, the way the action is worded is rather misleading. It says "between", which should make you think not including 1 and 10. Confused me when I first saw it.
  10. staind25

    How to make unit avoid snow?

    Ahh, I think I get it. Thanks much :)
  11. staind25

    How to make unit avoid snow?

    I know, but I'm asking what value I should give it. Like...how do I determine the value?
  12. staind25

    How to make unit avoid snow?

    Wow, very nice. I don't know my JASS, but I should be able to understand this...just not be able to write my own. Thank you very much. Going to take a detailed look here in a minute. Edit: Due to lack of experience, I'm not exactly sure how to integrate this. Do each of those functions go in...
  13. staind25

    How to make unit avoid snow?

    Thanks for the responses...sorry it took me awhile to get back. @HydraRancher, which 2 triggers are you referring to? If I could order a unit to walk along a specified path with only 2 triggers across the whole map I'd be very happy. @Sui-cookie, yeah, I'm trying to make it so that it only...
  14. staind25

    Integer to Real? Real to Integer?

    They're fair questions. I think generally though, here's something else you should know: For the world editor, you HAVE to use reals for some things, integers for others. This is just how the functions are set up for you. In "real" programming, you generally have the choice between using real...
  15. staind25

    How to make unit avoid snow?

    I have a custom unit based off of a Footman that I want to avoid specific tiles. The reason being, I have a path drawn for it, and when I order it to "attack-move", I want it to follow that path. It would really cut down on the triggering (Map is large and the unit's going across the map). Is...
  16. staind25

    Make unit follow closer?

    Excellent...thanks for the info. Hopefully I'll be able to test soon, but yeah if the Player Units thing works, then that should solve the problem...and I appreciate the additional info as well :)
  17. staind25

    Make unit follow closer?

    Ahh. I don't know anything about hashtables...is that pretty easy to set up?
  18. staind25

    Make unit follow closer?

    Nope :( Thought about that as well... Thanks for your help guys. The instant move would probably work but I'd like to see if I can find a way around it...making that MUI would be a pain. Edit: Is there any way to make an aura only work on units controlled by the same PLAYER, not just allies...
  19. staind25

    Make unit follow closer?

    I was wondering about that...maybe if ordered to follow that's not possible. But like, when the dummy unit is created, it's inside the other unit...so I know THAT'S possible...just not sure about the follow part. Might be able to increase the aura radius and be fine...but not sure. Really don't...
  20. staind25

    Make unit follow closer?

    Tried 0, still lands outside the circle :( The main idea is that the following unit is a dummy unit, following a specific unit with an aura...but I have the aura's radius set to 25 so that no one else gets it..just the dummy unit and the one it's following.
Top