| 08-04-2004, 11:55 AM | #1 |
Well im working on a turn based battle system for ym campaign aned i kinda have problems I wont shwo you the map btu here are the triggers ill descibe them Ok nwo the battle starts all monsters and heroes are there , theyre paused etc now we set the amount of the ATB (hwo much time si left until theyre turn) for every monster and heroes a random amount is set between 0 and 65536 Then i launch a trigger that checks if any ATB is full (in case some one would have the luck ( a chance 1 from 65536) that he started with a full atb) its for every hero or monster if HeroATB1 >=65536 then herogivingcommand (a unit variable)=hero1 run trigger shwo battle menu Skipp all remaining actions ok but thats ok if nobody has a Full ATB it charges a trigger that increases the ATB by a certain amount HeroATB1=HeroATB1+ (((Hero1 Agility + 20) * 96) / 16) then after all the atbs are filled it runs the check ATB trigger again and so on , but after the beggining amount is calculated all stops , the amount doesnt rise im sure of it (i have made the ATB gauges visible and it stops) Can anyone help me???? |
