HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A few Questions

06-23-2007, 06:34 AM#1
psychy101
Well I'm working on a hero arena, and when im trying to edit the hide hero after its picked, it won't let me, so could i get some help with that?
Also in the creating wisp part, im trying to use the payer-group do action, but i can't seem to find the right action im looking for, could someone help me?
06-23-2007, 06:52 AM#2
Pyrogasm
For removing the unit after it's picked, you'll want to use
Trigger:
Unit - Remove Your Hero 0001 <gen> from the game
For your wisp creation, something like this would be useful:
Trigger:
Set SpawnPoint = (Center of (Spawn Region <gen>))
Collapse Player Group - Pick every player in (All players) and do (Actions)
Collapse Loop - Actions
Unit - Create 1 Wisp for (Picked Player) at SpawnPoint facing Default Building Facing degrees
Custom script: call RemoveLocation(udg_SpawnPoint)
Just remember that the custom script is case-sensitive, and if you change the name of your variable, change the part regarding it in custom script to "udg_"+TheNameOfTheVariable.
06-23-2007, 07:04 AM#3
psychy101
Remove hero: I don't quiet think I get it, I am trying to use that, but I can't find anything to that point, meaning when I'm using that action, all I get is event responses, and if it's in there I can't seem to find it.

Wisps: Thank you very much, that does help a lot.

Removing units: The same thing as using the remove hero, only I'm using unit group - remove unit, and I can't find the wisp, I really am confused on this point.

Also for some reason I get no option [the game] just different ones.
06-23-2007, 07:18 AM#4
Pyrogasm
You aren't going to want to use the "Unit Group - Remove" action, you'll want to use the "Unit - Remove" action, and set up like triggers like this for each region you have:
Trigger:
Collapse Events
Unit - A unit enters Hero Selector Region 001 <gen>
Collapse Conditions
Unit-type of (Triggering Unit) equal to Wisp
Collapse Actions
Unit - Kill (Triggering Unit)
Unit - Remove (My Hero 001 <gen>) from the game
Set SpawnPoint = (Center of My Spawn <gen>)
Unit - Create One My Hero for (Owner of (Triggering Unit)) at SpawnPoint facing Default Building Facing degrees
Camera - Pan camera to SpawnPoint over 0.00 seconds for (Owner of (Triggering Unit))
Custom script: call RemoveLocation(udg_SpawnPoint)
06-23-2007, 07:27 AM#5
psychy101
Ok thank you, but still one more problem, whenever I try to go unit-remove I select the text, but I can't get the unit I want, how can I fix it so I can remove the one I want.
06-23-2007, 07:32 AM#6
Pyrogasm
There's a little box next to the fields that says "Select a Unit" that should bring you to the map view. From there, click on your unit and it will be added to the "variables" list.
06-23-2007, 07:47 AM#7
psychy101
I have tried this several times, but It doesn't seem to be adding to any variables, so Is there something I'm doing wrong[I'm going unit-remove trigger unit-select a unit-my hero, but then there is nothing more, I got back to triggers menu and well nothing.]
06-23-2007, 09:29 AM#8
Pyrogasm
Here's a picture; Red is what you'll click first, Green is where the unit will appear after you've selected him:

Zoom (requires log in)
Attached Images
File type: jpgPicture 1.jpg (60.6 KB)
06-23-2007, 03:57 PM#9
psychy101
For some reason I'm not getting that option, see.
Attached Images
File type: pngtrigger.png (135.8 KB)
06-23-2007, 07:57 PM#10
Earth-Fury
Click "select unit", then go to the main WE window, and select a unit... it will then appear in that box which pyrogasm has highlitgted green...
06-23-2007, 10:39 PM#11
TheSecretArts
You always gotta select the unit before it because usable (this also happens in JASS)... its a pain... i know