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