HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger questions

08-10-2002, 05:46 PM#1
Rio
1. When you use an event where you have to define a unit, you can only use presets and units already on the map. You can't use units defined by variables for God-knows-why. A lot of times you can get around this, but I don't know how to make a "unit within range" event with a unit defined by a variable. It sucks.

2. How do you remove items lying around the map? I have a trigger where items are continually generated, and I want it so that when you're done with that part of the level, the items are removed. But there's no trigger to let me do this. Do I have to define all the items with an array and remove them or something?
08-10-2002, 10:31 PM#2
Rio
Actually, it's for single player. And the problem is that there is no "remove items in region" action.
08-11-2002, 12:42 AM#3
Guest
Hm... he's right. There's no "item in region" trigger part.
It might be possible to work around that part - maybe by adding all items in the region to a group and then deleting all items in that group.
08-11-2002, 06:51 AM#4
Newhydra
Nope, you need to add every item thats created to an array and go through the array removing the items one by one to do what you want to...
Trigger questions - Wc3C.net