HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

help plz

08-27-2003, 02:23 PM#1
SzymonK
i need this trigger :
unit dies in region
units in region = 2
when he dies = 1 :P
then add 500 gold to player who killed this unit :)
08-27-2003, 06:48 PM#2
Panto
Maybe something like:
Quote:
Events
A Unit Dies
Conditions
Unit is in region my1337x0rzregion
Actions
Set integerRegionCount=0
Pick every unit in region my1337x0rzregion and do integerRegionCount=integerRegionCount+1
If integerRegionCount>1 then give 500 gold to Owner of Killing Unit
Where integerRegionCount is an integer variable.
08-27-2003, 10:11 PM#3
SzymonK
heh that give me all for my new ums this system :)
08-29-2003, 04:23 PM#4
SzymonK
eh i cant find this condition :O