HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do I amke conditions???

11-07-2002, 02:32 AM#1
Guest
Does anyone know how to make victory and defeat conditions?

(i.e. team 1 wins if this guy is destroyed) thx!!!
:yup: :yup:
11-07-2002, 03:49 AM#2
Izidkiel
go to trigger and make a condition.
11-07-2002, 03:56 AM#3
element_5
Events:
-(Unit - Player Owned Unit Event)
--A unit owned by [opponent] Dies

Conditions:
-(Unit-Type Comparison)
--(Unit-type of (Dying Unit)) Equal to [unit-type of the "defeat" unit]
or
-(Unit Comparison)
--(Dying Unit) Equal to [the "defeat" unit]

Actions:
-(Game - Victory)
--Game - Victory (Triggering player) (Show dialogs, Show scores)

Voila