(request) help with triggering xD
Mon 04 Dec 2006, 15:50
I am making a map at the moment and i need some help with triggers.
first i need a trigger that is like this: when a player kills a special building the player who destroys the building get a new one on the place where the old one was.
this is an example :
Evil-Pidgeon attacks mr.unkowns base and destroys the special building. evil pidgeon gets the special building.
second i need i trigger that makes a player that ows the special building gets a amount of
money every 2 minutes
and i need help with how to add a trigger and make triggers myself,
i have searched the web for trigger toutorials but it only says experiment yourself, but
i tryed that i didnt understand how to use it
first i need a trigger that is like this: when a player kills a special building the player who destroys the building get a new one on the place where the old one was.
this is an example :
Evil-Pidgeon attacks mr.unkowns base and destroys the special building. evil pidgeon gets the special building.
second i need i trigger that makes a player that ows the special building gets a amount of
money every 2 minutes
and i need help with how to add a trigger and make triggers myself,
i have searched the web for trigger toutorials but it only says experiment yourself, but
i tryed that i didnt understand how to use it
Re: (request) help with triggering xD
Mon 04 Dec 2006, 17:32
Well here a solution,
You need create a variable type Playergroup
in my exemple its "yourGroup"
For the first trigger :
and the second :
You need create a variable type Playergroup
in my exemple its "yourGroup"
For the first trigger :
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to "yourbuilding"
Actions
Player Group - Remove (Owner of (Dying unit)) from "yourGroup"
Unit - Create 1 "yourbuilding" for (Owner of (Killing unit)) at (Position of (Dying unit)) facing Default building facing (270.0) degrees
Player Group - Add (Owner of (Killing unit)) to "yourGroup"
and the second :
Events
Time - Every 120.00 seconds of game time
Conditions
Actions
Player Group - Pick every player in "yourGroup" and do (Actions)
Loop - Actions
Player - Set (Picked player) Current gold to (((Picked player) Current gold) + 100)
- Asgard_RagnaCOL
- Posts : 750
Réputation : 7
Regist Date : 2006-01-20
Re: (request) help with triggering xD
Mon 04 Dec 2006, 17:38
Well this is my solution im not sure if it works didn't test it. map
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: (request) help with triggering xD
Mon 04 Dec 2006, 18:20
mb this links are useful too if you want a basic introduction into triggering... ;)
http://world-editor-tutorials.thehelper.net/triggers.php#example
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=19780
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php
http://world-editor-tutorials.thehelper.net/triggers.php#example
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=19780
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php
Re: (request) help with triggering xD
Mon 04 Dec 2006, 18:53
thanks SathSunny_D andAsgard_Ragna for your help
but u have a few questions about the triggers u posted sath. what shall i write in the "yourbuilding"?
shall i write
the name of my building? like controll point
and what is "yourgroup"
u wrote variable type Playergrou whats that?
and if i want all players to get the amout of money
like 100gold/controll point what shall i change?
does big and small letters matter in triggers?
how do i write the triggers?
but u have a few questions about the triggers u posted sath. what shall i write in the "yourbuilding"?
shall i write
the name of my building? like controll point
and what is "yourgroup"
u wrote variable type Playergrou whats that?
and if i want all players to get the amout of money
like 100gold/controll point what shall i change?
does big and small letters matter in triggers?
how do i write the triggers?
Re: (request) help with triggering xD
Mon 04 Dec 2006, 20:19
same , i cant teach you all sorry ; i dunt have the time
Sunny_D wrote:mb this links are useful too if you want a basic introduction into triggering...
http://world-editor-tutorials.thehelper.net/triggers.php#example
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=19780
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php
- Asgard_RagnaCOL
- Posts : 750
Réputation : 7
Regist Date : 2006-01-20
Re: (request) help with triggering xD
Mon 04 Dec 2006, 20:37
Yes, the only way to learn triggering is open other maps or teach yourself. Nobody can tell you a general way how to trigger.
Re: (request) help with triggering xD
Tue 05 Dec 2006, 21:05
nice , btw u starting a good map :p ( ive tested it yesterday lol )
- Sunny_DLTG
- Posts : 1653
Réputation : 3
Regist Date : 2006-02-04
Re: (request) help with triggering xD
Tue 05 Dec 2006, 22:23
what kind of a map is it? if i consider the triggers you need, it could probably be an aos-style....
EDIT: k i saw your other thread now...
EDIT: k i saw your other thread now...
Permissions in this forum:
You cannot reply to topics in this forum