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...
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 :)
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...
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...
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!
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...
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.
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...
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...
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...
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...