HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

location, rect, region, variables ...I need help

03-09-2005, 06:06 AM#1
Silversuns
Hi, ok,
here is my problem, I would like to put some location in variable... but i have rect and region, I'm not sure what is the difference between. Region are like bugged or I don't know to use them, the editor make error when I put region in variable and save... I try to use rect but I have nothing to use them.

I want to put location in variable and use variable in condition, but I didnt found a way with rect and region not working when i save ...

I hope you can understand what I'm trying to said.
Can any help me please. Thank you. Sorry for my bad english.
03-09-2005, 06:13 AM#2
Anitarf
Are you trying to do things in JASS? Because that's the only place I saw rects before.

Anyway, JASS rect = GUI region, and JASS region = something else. So, for example, if you want to use a GUI boolean condition "unit is in region", you would be working with rects in JASS.
03-09-2005, 04:42 PM#3
Guest
Just make a region on your map, then create a variable (rect if your using WEU and region if your using regular region), then you can set the rect/region anywhere you want using the variable.
03-09-2005, 10:41 PM#4
Vexorian
I'd like to blame blizzard for this messup.

In editor they call rects regions, the things you draw in the editor are NOT regions, they are rects, Rects may only be rectangles, regions can have any shape
03-10-2005, 06:01 AM#5
Silversuns
hmmm, you didnt understand what i said, by the way I use WE Unlimited editor, I have rect and region in my editor, I didnt found how to use rect in condition when i make trigger (with variable), I can use region but region make error in the editor when i use the convert thing ...I was only able to use region and i must convert rect into region but it make error when i save ... what should I do.

You said region is any shape, how can you make another shape with rect or region, with coordinate? or something else?

I hope you understand this time, I will try to find another way probably longer for I want to do if i can't make that work...

Thank you for trying to help me.

Is it possible to use rect in condition and how can i make region ??? This is so confusing, I try to find any way but i'm completly blocked, I can't find how to make Region and I can't use rect in the trigger .... Can any explain how rect and region in the WE Unlimited is working?
03-10-2005, 06:39 PM#6
Silversuns
Quote:
Originally Posted by Silversuns
hmmm, you didnt understand what i said, by the way I use WE Unlimited editor, I have rect and region in my editor, I didnt found how to use rect in condition when i make trigger (with variable), I can use region but region make error in the editor when i use the convert thing ...I was only able to use region and i must convert rect into region but it make error when i save ... what should I do.

You said region is any shape, how can you make another shape with rect or region, with coordinate? or something else?

I hope you understand this time, I will try to find another way probably longer for I want to do if i can't make that work...

Thank you for trying to help me.

Is it possible to use rect in condition and how can i make region ??? This is so confusing, I try to find any way but i'm completly blocked, I can't find how to make Region and I can't use rect in the trigger .... Can any explain how rect and region in the WE Unlimited is working?

Any can help me please?
03-11-2005, 05:42 PM#7
aaero
Sorry, I can't help you at all. I'm not using World Editor Unlimited so I don't deal with the same problems you do.

I'm trying to rephrase your problem so it's a little easier to understand. Basically, you have a region that you want to use in a condition (for a trigger). The problem is, you have no way to refer to this region. You can't set a variable to it, and if you convert it to a rectangle in your condition, it gives you an error and you can't save.

In my experience, if you have a pre-placed region you can select it very easily for use in a condition (use the "Select a Region" button right next to your variable list) but once again, this is standard World Editor.

Most of all, I just thought I'd give your post another bump so it doesnt get forgotten :)
03-12-2005, 04:01 AM#8
Silversuns
Quote:
Originally Posted by aaero
Sorry, I can't help you at all. I'm not using World Editor Unlimited so I don't deal with the same problems you do.

I'm trying to rephrase your problem so it's a little easier to understand. Basically, you have a region that you want to use in a condition (for a trigger). The problem is, you have no way to refer to this region. You can't set a variable to it, and if you convert it to a rectangle in your condition, it gives you an error and you can't save.

In my experience, if you have a pre-placed region you can select it very easily for use in a condition (use the "Select a Region" button right next to your variable list) but once again, this is standard World Editor.

Most of all, I just thought I'd give your post another bump so it doesnt get forgotten :)

Good rephrase, thats better like this, I know what you mean by selecting location, but in my Event I have at least 9 locations, when units/Heros is entering in one of this location, I want to do different specific action depending on the location he entering, but each location will be in variable for easy use, it's a bit complicated, I just want to make it work. ...
I hope it's understandable...

Thank you.
03-17-2005, 04:30 AM#9
Silversuns
ok, thank you all, I found it. Now it work fine.