HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with a trigger...AGAIN!

07-12-2004, 05:07 AM#1
VileVII
It really seems easy and stupid...but...

I am trying to make this quest. The quest goal is to rescue 10 Blue Soldier, when they are rescued, they give you a certain amount of gold. If the soldier dies, it do not affect the quest, you just have to rescue them.

I tried several trigger, but nothing work.

I think I'll have to try with variable, but i Dont know how to use them.

Thanks in advance for any help
07-12-2004, 03:07 PM#2
johnfn
Ok, my best idea would be to have a region around each blue soldier (a small one) and then have a trigger like this

Variables
NumOfSoldiersRescued (any name) - integer

Events:
(your hero) comes within blue soldier region 1
(your hero) comes within blue soldier region 2
(your hero) comes within blue soldier region 3
...
Actions:
NumOfSoldiersRescued = NumOfSoldiersRescued + 1
if (NumOfSoldiersRescued Equal to 10) then
player - add gold to (player 1) - 10 gold


oops, I thought I had already posted but it looks like its still here, strange.
07-19-2004, 06:31 AM#3
BuRnInSpartan
easy you don't have to even use regions but you have to make several triggers

Events: Unit- A unit comes within (x range) of (w/e unit)

Conditions: Owner of (w/e unit) Equal to (not yours)

Actions: Unit- Change owner of (w/e unit) and change color
Player- Add (x amount of gold) to player 1 (red) current gold

hope this helps