QUOTE(Mr.Kirbycode774 @ Oct 11 2005, 08:42 PM)
He did it per level, not per experience point. You have no idea how many codes it would take for each individual exp point.
-----
Anyways, in non-trigger form, this is how you do Xuru:
1)When a character goes up a level, add one death count to some obscure unit.
2)When the character save&exits, use the condition "if current player has x deaths of some unit" and give the action to have it display a code.
3) You can repeat exactly like that with different conditions, such as "If current player has at least 100 minerals"&"If current player has at most 200 minerals" for a gold code.
Unfortunately, if you don't give codes SPECIFIC to the character, people can mixnmatch codes and give any of the characters any level they want. That is the main downside of Xuru.
[right][snapback]331873[/snapback][/right]
Actually, if you use a binary countoff, you can do exact XP with just few triggers.
XP is at Least 1024 (2^10), Add 1024 Counter
XP is at Least 512 (2^9), Add 512 Counter
...
XP is at Least 2 (2^1), Add 2 Counter
XP is at Least 1 (2^0), Add 1 Counter
It can take a while, but it will save exact xp, and you have to have a way for it to show how much it is, knowing hex also helps so you could find other ways with less triggers to do it.
There isn't any real specific way to do save/load triggers, just have to improvise.