PDA

View Full Version : Region Trouble


Hotshot
07-06-2006, 6:42 AM
For some reason I can't get the 'move region' action to work in a trigger. Little help?
I want to be able to move a region linked with a Way Gate.

gamer102
07-06-2006, 3:20 PM
its like a leaderboard trigger, you have to update the numbers like updating the position of the region

Here
If you set the waygate to position of region
it gets the position that the region is at, not the region itself, its like a point of reference of where

and the trigger itself. it says Set waygate destination (meaning its not going to change)
so you have to "Set" it every so often

Here is example

Trigger 1 (Update waygate)
E - Every 10.00 Seconds
C -
A - Set waygate destination to center of WaygateRegion

Trigger 2 (move region)
E - Every 15.00 Seconds
C -
A - move WaygateRegion to random point in playable map area


but you have to click the waygate twice when your near it to go through to the region (its some kind of bug in the game)

Basan
07-07-2006, 7:20 PM
'Hotshot, don't you mean to teleport something with a "Way Gate" now, do ya? :confused: If that's so, just open that buildings properties and fiddle. ;)

Hotshot
07-07-2006, 8:33 PM
'Hotshot, don't you mean to teleport something with a "Way Gate" now, do ya? :confused: If that's so, just open that buildings properties and fiddle. ;)
The region is already linked to the Way Gate through its properties. I want to be able to move its teleport region to another place on the map when a triggered event occurs. Lets say you cleared the area, and now I don't want you to be able to get back over there - instead I want you to teleport to a new place on the map when you go through the Way Gate again. Thats the kinda scenario.

Ok, what about if I use the 'set rally point' action to set the rally point of the Way Gate to a different region, will that work?

gamer102
07-09-2006, 1:20 AM
Like some kind of trigger to transport you (for say) to a different island each time you enter?

EX:
Baddies Level 1 (Entering the Waygate)
Waygate transports you to island #1
Baddies Level 1 Completed (Unit - Move to region)
If Baddies Level 1 Completed = True, Then set Waygate destination to Island #2

Hotshot
07-09-2006, 7:18 AM
...Ok, now tell me how to do it using actual commands. I strongly doubt there would be a 'set Waygate destination' action... <-- (Proven wrong by gamer102, thanks man)
It dosen't really matter what I want to do it for, just how to make a Way Gate change or move teleport regions and it works right.

gamer102
07-09-2006, 9:24 PM
OK HOTSHOT

I strongly doubt there would be a 'set Waygate destination' action...

Events
Conditions
Actions
Region - Center Region on (Center of Region)
Neutral Building - Set Waygate destination to (Center of Region)

You can also just have different regions and not move the same one because

"This has no effect unless the specified region is a variable"
That's what it says

Neutral Building - Set Waygate destination to (Center of Region1)
Neutral Building - Set Waygate destination to (Center of Region2)

Hotshot
07-09-2006, 10:11 PM
Wow, sorry gamer102. You were most certainly right. It was just that so far it seemed like the conversation was more focused on the trigger than the action. I honestly wouldn't have thought there would be a set Way Gate action (because World Edit is very vague in its commands) but you proved me wrong. See I didn't know it was under 'Neutral Building' before your last post either, so that would have helped too. But yes, that is exactly the answer I was looking for.

Neutral Building - Set Waygate destination to (Center of Region)

That was all I needed to know. Thank you very much.

gamer102
07-10-2006, 11:34 PM
Ok Thats ok ya, i found world edit to be very stupid at times too

Sid
07-12-2006, 4:16 AM
Region move- only works if you define a region through a trigger at Map Init... Look at Mal'ganis map (The Culling : RoC Human Campaign) to learn about it.