HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

I Need A Trigger

01-12-2005, 12:23 AM#1
Ethnar
Hello my name is Ethnar i am working on a map that is almost finished and i need
a trigger.

there 3 triggers i need are
1: i need a gold generating triger that doesnt lag based of property of a player
2: i need a give units system where a player clicks on a unit and types give blue etc
3:i need a "sell this unit" trigger that doesnt need much space

thnkyou if you can get me eitherof these give me your war3 east and west screen name for credit or it will go under "people and war3"
01-12-2005, 01:19 AM#2
ElvinArcher123
1... i dont know how to prevent lag... i work on a fast computer... everyone else should have one :-D
-2. Events
- a Player Types a Message
-Conditions
-Substring(1,5)="-give"
-Actions
-If Substring (1,3)="red" then
-set (triggering player)'s (gold)=(triggering player)'s (gold)=(triggering player)'s (gold)-substring ( 7,9)
-set (red)'s (gold)=(red)'s gold- substring (7,9)
ELSE
If Substring (1,4)="blue" then
-set (triggering player)'s (gold)=(triggering player)'s (gold)=(triggering player)'s (gold)-substring ( 7,9)
-set (blue)'s (gold)=(blue)'s gold- substring (7,9)
ELSE
(repeat as necessary...)


3. A unit starts the effect of the ability
Ability="sell"
set ((owner of (casting unit))'s = ((owner of (casting unit))'s gold+(point value of (cating unit)

ElvinArcher123... but if you dont wanna put me in there im fine with that
01-12-2005, 11:40 AM#3
Windrunner
this should be in the trigger forum, and try to make the triggers yourself. then ask for help if you cant get further.