Recent content by staind25

  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...
Top