Staredit Network

Staredit Network -> UMS Assistance -> RPG - Xp + Cash for Kills
Report, edit, etc...Posted by flavorfal on 2006-02-17 at 15:46:47
------SOLVED--------

Using the tutorial Exp to Cash and the Unit kill scores list, I attempted making triggers for an RPG.

I do have more triggers than these 3 for Force 1, however these triggers are the first three (in this order). And I am using 2 Hyper Triggers

Now for the problem:
I can kill a "Hydralisk", get the xp, and the minerals. However once I kill a "Broodling" I no longer get xp or minerals for "Hydralisk" kills.
The same thing happens to "Broodling" once I kill a "Zergling." I no longer receive xp or minerals for either the "Broodling" nor the "Hydralisk"

In other words, it works fine until I kill something lower on the trigger list. Then only the lower trigger fires.




Trigger
Description:
Method 4
Players:
¤ Force 1 (players)
Conditions:
¤ Current players Kill score is at least 350
¤ Foes has suffered exactly 1 deaths of Hydralisk
Actions:
¤ Modify Score for Current player. Add 15 custom (exp)
¤ Modify Resources for Current player. Add 10 Minerals
¤ Modify Score for Current Player. Subtract 350 Kills.
¤ Modify Death Count for Foes. Subtract 1 for Hydralisk.
¤ Preserve Trigger.



Trigger
Description:
Method 4
Players:
¤ Force 1 (players)
Conditions:
¤ Current players Kill score is at least 25
¤ Foes has suffered exactly 1 deaths of Broodling
Actions:
¤ Modify Score for Current player. Add 15 custom (exp)
¤ Modify Resources for Current player. Add 10 Minerals
¤ Modify Score for Current Player. Subtract 25 Kills.
¤ Modify Death Count for Foes. Subtract 1 for Broodling.
¤ Preserve Trigger.



Trigger
Description:
Method 4
Players:
¤ Force 1 (players)
Conditions:
¤ Current players Kill score is at least 50
¤ Foes has suffered exactly 1 deaths of Zergling
Actions:
¤ Modify Score for Current player. Add 15 custom (exp)
¤ Modify Resources for Current player. Add 10 Minerals
¤ Modify Score for Current Player. Subtract 50 Kills.
¤ Modify Death Count for Foes. Subtract 1 for Zergling.
¤ Preserve Trigger.


Any ideas? Tell me if you need more information, I can even upload map if necessary.
Report, edit, etc...Posted by Urmom(U) on 2006-02-17 at 15:57:02
In the conditions, try making the "Suffers exactly 1 death of [unit]" to "Suffers at least 1 death of [unit]. You can probably even take that condition out and also the action that subtracts the death.

Also, you should use more hypertriggers. I recommend about 5 if you are using the Always/wait 0 way.
Report, edit, etc...Posted by PCFredZ on 2006-02-17 at 16:20:52
Use the Perfect Kill to Cash trigger system.
Report, edit, etc...Posted by flavorfal on 2006-02-17 at 17:40:30
thanks urmom that got it working
Next Page (1)