function StartTurn(me)

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

function StartTurn(me)

Post by enric »

Is this function called for every unit? (even if dead?)
pipfromslitherine
Site Admin
Site Admin
Posts: 9923
Joined: Wed Mar 23, 2005 10:35 pm

Re: function StartTurn(me)

Post by pipfromslitherine »

Yes, it looks like it doesn't discriminate against dead units.

Cheers

Pip
follow me on Twitter here
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: function StartTurn(me)

Post by enric »

This make me crazy for a while!
pipfromslitherine
Site Admin
Site Admin
Posts: 9923
Joined: Wed Mar 23, 2005 10:35 pm

Re: function StartTurn(me)

Post by pipfromslitherine »

If we didn't call it on dead units they kept becoming more powerful than we could possibly imagine, sadly.

#topical

Cheers

Pip
follow me on Twitter here
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: function StartTurn(me)

Post by enric »

pipfromslitherine wrote:If we didn't call it on dead units they kept becoming more powerful than we could possibly imagine, sadly.

#topical

Cheers

Pip
Sorry, it's true or are you jogging? (sorry if I did not catch the subtile of the language)
I say that because I modified the function avoiding any action on dead units.
pipfromslitherine
Site Admin
Site Admin
Posts: 9923
Joined: Wed Mar 23, 2005 10:35 pm

Re: function StartTurn(me)

Post by pipfromslitherine »

I was being funny (though clearly that's a matter of opinion ;) )

https://youtu.be/8kpHK4YIwY4?t=52

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Modders Corner”