"define var" is icky. You're using C syntax for function arguments (function main(string args)), and then you bring out some weird Visual Basic-like variable syntax for other stuff. Just keep it all C and we'll be much happier.
class mod inherits mod_base
override int main(string args)...
He doesn't have to know what hard drive letter you use. There are things you can do inside the script that make it work on your main drive: instead of putting D, for example, he can put %systemdrive% or something and it will work. You're hardly safe.
I want my units able to move. He is just disabling their movement abilities. Say I want a warlock-like map, with cliffs, where you can move while being knocked back.
How does one turn off collision in SC2? Warcraft 3 had a nice function.
I ask because I am currently making a projectile system, and I would like to allow units to be knocked over cliffs and such. However, ground units will not go over unpathable area when using UnitSetPosition like they...
But it was filled with awesome.
Anyways, on my beta version (and I think the released one), this happens whenever I try to test a map:
I cannot find the registry key mentioned.
When I do a right click -> add existing file.
But the thing is, I got this file from SVN. I'd prefer that it be auto included; while you're at it, why not auto include anything ending with .gx or .a?
Also, did I mention file -> opening a moonlite project opens the project file itself (an xml...
lib_Ntve is some sort of GUI library Blizzard wants us to use. The point is, all of the functions included in it, like checking if a unit is in a region, are currently not included by Moonlite in the function searcher.
A refresh button would work fine. I think Moonlite should be displaying all...
Would you mind also commiting the actual map file itself? A map isnt just code you know. Terrain and object data have their parts. Also, Moonlite does not have lib_Ntve. I remember hearing that a while back, but I havent heard any response from you Vestras.
We are missing important functions in...
Just commit does not upload the Bin folder which contains the map. I want the map uploaded so team members can edit object data and stuff and commit that.
Directory structure wise, Moonlite uploads the project folder. If you wanted to have your project in something like Google Code's svn...
SVN fails on commiting all, which is the main reason I want SVN on Moonlite. It was having problems with the temp directory.
I have managed to get it to work with minor effort.
I believe the steps were:
Create project. Import it to SVN (the directory to the project is Documents/Moonlite Map...
He's saying that functions to turn a unit invulnerable can be found in the Liberty library (I have not checked this) - which is not in the current natives list. include "TriggerLibs/LibertyLib" is where it can be found.
Every function dealing with these library functions is prefixed with...
You should use trigger MapInitialization = TriggerCreate(MapInitializationFunc.name); because Andromeda sometimes changes names. Although, I dont think Moonlite is using the newer versions of Andromeda that add that, so that probably wont work.
Your first message should pop up though, weird...
Getting same problem as someone mentioned a while back. Code is not being replaced inside the MPQ. It worked fine on my first compile (I made a new project, wrote some code, tested, it was fine) and after I changed code (which has no errors) the file isn't being overwritten in the MPQ. It's the...