Script that only run after the address been generated?

Post your topics and discussions here that you can't find a good section for.
Post Reply
User avatar
ColonelRVH
Expert Cheater
Expert Cheater
Posts: 358
Joined: Mon Mar 06, 2017 3:27 am
Reputation: 327

Script that only run after the address been generated?

Post by ColonelRVH »

I got a problem. There's an instruction that changes the health value, the problem is its group different is seem to be generated AFTER the health.

Which mean, if I put a comparison script for it, the game will crash when it allocates the new addresses for new units.

Been stuck with this for a while. Any suggestion?

User avatar
++METHOS
Administration
Administration
Posts: 275
Joined: Thu Mar 02, 2017 9:02 pm
Reputation: 95

Re: Script that only run after the address been generated?

Post by ++METHOS »

Can you elaborate? I do not understand. Thanks.

User avatar
ColonelRVH
Expert Cheater
Expert Cheater
Posts: 358
Joined: Mon Mar 06, 2017 3:27 am
Reputation: 327

Re: Script that only run after the address been generated?

Post by ColonelRVH »

Simply say, my script work fine for units that are already generated (already on the field). But when another unit is created, game crash instantly.

Problem is there's no other proper instruction for it than this one. Game generates code at run time also.

Post Reply

Who is online

Users browsing this forum: No registered users