HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit is Selected / Player Selects a Unit

08-30-2004, 02:30 PM#1
Hessgasoline
Alright. I'm not quite sure how to use Jass, and I really need this trigger to make my life easier. How would you go about making a trigger, that when a (Condition) HUMAN player (/Condition) clicks on X Unit, and (Condition) another of this Player's units that isn't a shade is within 300.00 of X Unit. (/Condtion) Then Y things happen. How would I get that to work...without JASS, because I don't understand it at ALL.
08-30-2004, 03:40 PM#2
Eeporgorg
Events Player (Whatever players) selects a unit

Conditions
Triggering unit is (your unit) equal to true

Actions
Pick every unit in playable map area matching matching unit is a shade equal to false and matching unit is owned by triggering player equal to true and matching unit is within 300 of triggering unit equal to true.


Thank you, frozzt. I forgot for a moment. :god_help_us:
08-30-2004, 03:52 PM#3
Frozzt
In Condition you need to use Triggering Unit because "selected unit" does not exist