Jun 22, 2011 at 4:17 AM
Join Date: Aug 9, 2010
Location: Greener Pastures
Posts: 1188
Age: 30
Lace said:But that wouldn't be based on time! :0
Maybe I play too much tower defense, but generally having new enemies come in every once in a while rather than conveniently after you have killed them all leads to more panic, a more realistic (har har) game, and a better experience overall for the player. Whichever way works, but if you want to do time you'll have to throw out TSC and go with a small hack.
Something like:Code:push ebp mov ebp,esp sub esp,8 inc [ebp-8] cmp [ebp-8],32 jne A inc [ebp-4] xor [ebp-8],[ebp-8] cmp [ebp-4],[B]3A[/B] (seconds til next wave) jne A xor [ebp-4],[ebp-4] push [b]32[/B] (event to be called) call 421990 add esp,4 A pop ebp ret
Should work. That calls event 50 every minute. The event is w/ in head.tsc so that the waves can be global to all places, but you might wanna change it to a specific per map deal.
Uh.
Were we even talking about this?
Congratulations Lace, you have made my day. <NCJ will go smoothly with that. Does this still run when a TSC event is being ran? Cause there are devices in the game that require it.