| 08-27-2008, 02:03 AM | #1 |
I'm trying to create a trigger that says: Event: Unit Gains Level Condition: Level of (leveling unit) equal to multiples of 5 Then, fire trigger. Help plz ;) |
| 08-27-2008, 02:31 AM | #2 |
Condition: Modulo ( Hero Level , 5 ) is equal to 0 modulo returns remainder, so when it is completely divisible by 5, it is a multiple. |
| 08-27-2008, 02:51 AM | #3 |
Alright, I get it. Thanks it's working! |
| 08-27-2008, 02:06 PM | #5 |
You're awarding too much exp at once, you can always try awarding quest exp in smaller chunks. It's either that, or a more complicated skill point trigger. ...isn't there an option in gameplay constants that lets you modify each how many levels a hero gains skill points? |
| 08-27-2008, 04:25 PM | #6 | |
1. Store hero's level at birth (level 1). You can use any applicable method to store the data. 2. On lvlup trigger, perform a for-loop from (previous level+1) to (new level) and check those levels for any condition you need to check. 3. On the last part of the trigger, update the stored level. Quote:
I thought there was, but I can't find it anyway. |
| 08-27-2008, 06:12 PM | #7 |
| 08-27-2008, 06:52 PM | #8 |
