HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is it natural...

02-26-2009, 09:39 PM#1
Sunwarrior25
... for custom abilities to have every Data field from A through W? I only ask because I have a hard time finding the fields I need. (This seems to happen to me no matter how I make the new ability) solved

EDIT: I'll restart WE and see if I can catch whatever error message might have appeared in the main window. nvm, there is no error message.

EDITEDIT: I now have a new problem. I am somehow getting a compile error in the CreateRegions part of the map's code. To be more specific, I'm getting an 'expected variable name' error.

Hidden information:
Code:
Line 350: Expected a variable name

//in the CreateRegions thingy...

set gg_rct_TreeSpot0 = Rect( 576.0, 8032.0, 1856.0, 8544.0 )
02-26-2009, 09:54 PM#2
Captain Griffen
Does this happen on every map, or just one map?
02-26-2009, 10:06 PM#3
Sunwarrior25
Strange, it only seems to happen in just that map. It's in a campaign file though, and I'll be damned if I have to re-terrain it. Yet, the campaign's custom data tab works... I guess I'll use the campaign editor to make the abilities that I'll only use in that map, and use the editor suffix so I don't click on accident......
02-26-2009, 11:31 PM#4
xombie
You could copy+paste the terrain in segments.
02-27-2009, 12:41 AM#5
Bobo_The_Kodo
or you could just export terrain file... lul
02-27-2009, 01:14 AM#6
xombie
Quote:
Originally Posted by Bobo_The_Kodo
or you could just export terrain file... lul

Well sooooooooorry not all of us are huge haxx0rs.
02-27-2009, 02:06 AM#7
akolyt0r
Quote:
Originally Posted by xombie
Well sooooooooorry not all of us are huge haxx0rs.

ehm ...yes...thats really advanced "hacking"
02-28-2009, 10:07 PM#8
Sunwarrior25
New problem (in edited main post, but I'll CnP it here anyhow).

Quote:
EDITEDIT: I now have a new problem. I am somehow getting a compile error in the CreateRegions part of the map's code. To be more specific, I'm getting an 'expected variable name' error.

Hidden information:
Code:
Line 350: Expected a variable name

//in the CreateRegions thingy...

set gg_rct_TreeSpot0 = Rect( 576.0, 8032.0, 1856.0, 8544.0 )


02-28-2009, 10:25 PM#9
Michael Peppers
A question, why didn't you set the region using the tools in the main window of the world editor?

And as I've seen, that's a normal region and not a variable, so I think it can't be set with a trigger (only with (see above)), maybe you could do a region variable (named "TreeSpot0" in my examples) and then set it with the datas you're using, example:

Collapse JASS:
set udg_TreeSpot0 = Rect( 576.0, 8032.0, 1856.0, 8544.0 )

or, in GUI:

Trigger:
set TreeSpot0 = (Region(576.0, 8032.0, 1856.0, 8544.0))

(The GUI command is Conversion - Convert Coordinates To Region)

Hope I've been of some help (though I don't know JASS...)
03-01-2009, 03:08 PM#10
Sunwarrior25
I did set the region with the main window of the world editor. It's wierd that it happened, yet easily solved by deleting the region and setting a new one. Though you did help. I'll be sure to write down those examples so I don't forget.