[Log in / Register]
| News | Chat | Pastebin | Donations | Tutorials | Rules | Forums |
| Maps | Skins | Icons | Models | Spells | Tools | Jass | Packs | Hosted Projects | Starcraft II Modding | Starcraft II Resources | Galaxy Wiki |
(Keeps Hive Alive)
Go Back   The Hive Workshop > Warcraft III Modding > World Editor Help Zone


World Editor Help Zone Ask general questions about World Editor features and use in this forum. If you need help fixing a trigger, please post it in Triggers & Scripts. Please review the forum rules before posting.

Closed Thread
 
Thread Tools
Old 10-04-2011, 11:33 AM   #1 (permalink)
Registered User Kikithemad93
[ENTER GENERIC TITLE]
 
Kikithemad93's Avatar
 
Join Date: Aug 2009
Posts: 14
Kikithemad93 has little to show at this moment (1)
Having slight problems with teleports...

Ok, basically I'm making an arena map which is team based.

However, i need to get every player to go into the boss arena at the same time.

How would i do this?

P.S: Ive got an area ready to trigger and such, i just need to know how to do it.

thanks for any responses
Kikithemad93 is offline  
Old 10-04-2011, 11:37 AM   #2 (permalink)
Registered User ShadowFlare
"Weeee"
 
ShadowFlare's Avatar
 
Join Date: Jun 2008
Posts: 530
ShadowFlare will become famous soon enough (90)ShadowFlare will become famous soon enough (90)ShadowFlare will become famous soon enough (90)
Pick every unit in the map
Check to see if it is a hero unit
Check to see if it is owned by a player
Move all matching units to region
__________________

ShadowFlare is offline  
Old 10-04-2011, 11:41 AM   #3 (permalink)
Registered User Kikithemad93
[ENTER GENERIC TITLE]
 
Kikithemad93's Avatar
 
Join Date: Aug 2009
Posts: 14
Kikithemad93 has little to show at this moment (1)
how would i do that? I'm not very experienced with these sort of triggers.
Kikithemad93 is offline  
Old 10-04-2011, 12:05 PM   #4 (permalink)
Registered User kleinerhauck
GUI 4 ever
 
kleinerhauck's Avatar
 
Join Date: Jun 2008
Posts: 302
kleinerhauck is on a distinguished road (82)kleinerhauck is on a distinguished road (82)
the action is called

unit group - pick every unit in unit group

then you need an if-statement (at the top of the list) with boolean and player comparison.

the trigger editor offers a search field to find actions quickly, though it is already pretty organized in categories.

just look around a little, that's the best way to learn
kleinerhauck is offline  
Old 10-04-2011, 12:59 PM   #5 (permalink)
Registered User Kikithemad93
[ENTER GENERIC TITLE]
 
Kikithemad93's Avatar
 
Join Date: Aug 2009
Posts: 14
Kikithemad93 has little to show at this moment (1)
thats confused me more...i can understand the pick every unit in unit group.

i DONT get the If statements

im new, so go easy on me :)
Kikithemad93 is offline  
Old 10-04-2011, 01:27 PM   #6 (permalink)
Registered User Gopinich
Guest who am I now
 
Join Date: Nov 2010
Posts: 63
Gopinich has disabled reputation
Actions
Set HeroGroup = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Owner of (Matching unit)) controller) Equal to User)))
Unit Group - Pick every unit in HeroGroup and do (Actions)
Loop - Actions
Unit - Move (Picked unit) instantly to Arena
Custom script: call DestroyGroup(udg_HeroGroup)

If you can, should set the hero of each player into variables.
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Set Hero[(Integer A)] = (Random unit from (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and ((Owner of (Matching unit)) Equal to (Player((Integer A)))))))
And use variable as hero
Actions
Unit - Move Hero[1] instantly to Arena
Unit - Move Hero[2] instantly to Arena
Unit - Move Hero[3] instantly to Arena
Unit - Move Hero[4] instantly to Arena
...
Gopinich is offline  
Old 10-04-2011, 01:31 PM   #7 (permalink)
Registered User Kikithemad93
[ENTER GENERIC TITLE]
 
Kikithemad93's Avatar
 
Join Date: Aug 2009
Posts: 14
Kikithemad93 has little to show at this moment (1)
OK, that one has really helped. Thanks a lot! :)
Kikithemad93 is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 04:43 AM.





Powered by vBulletin
Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.1 PL2
Copyright © Ralle