meOme
New Member
- Reaction score
- 31
Hi guyz
All I'm trying to do is to define a global region, add some rects to this region, and use it in a couple of triggers.
I just can't get it to work.
I added this to my mapheader:
(Only works with JassHelper, though. Any way to create global variables without Jasshelper?)
But when I try to use this variable, the game just crashes:
What am I doing wrong?
All I'm trying to do is to define a global region, add some rects to this region, and use it in a couple of triggers.
I just can't get it to work.
I added this to my mapheader:
JASS:
globals
region walls = CreateRegion()
endglobals
(Only works with JassHelper, though. Any way to create global variables without Jasshelper?)
But when I try to use this variable, the game just crashes:
JASS:
call RegionAddRect( walls, gg_rct_Gebiet_001 ) // = Crash :/
What am I doing wrong?