HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Condition - Checking for unit?

04-22-2006, 04:29 PM#1
Canadian Marmot
Hello all!
I am creating an RPG in which you need to get an item to a location, and activate a system via chat message in order to gain an ability.
I have the drop item, move item trigger working but with this:

Events
Player - Player 1 (Red) types a chat message containing -activate as An exact match
-
Conditions
(Random item in Location <gen>) Equal to Dummy Item <gen>
-
Actions
Unit - Add Ability to (Triggering unit)


1] This works, but I don't want the player to activate it with their unit outside the location.
2] Is there another condition besides 'check for random item' for me to use?
04-22-2006, 04:32 PM#2
Mezzer
Try counting number of items of type and checking against that. And why not just check for unit in region?
04-22-2006, 04:43 PM#3
Captain Griffen
Unit - Add Ability to (Triggering unit)

That won't work, as there is no triggering unit.

Condition is:

Boolean - Unit is in REGION is equal to true.