ALL_CHECK or CHECK_ALL

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

ALL_CHECK or CHECK_ALL

Post by enric »

ALL_CHECK is incorrect and won't work properly - but checking the docs you are correct that they are wrong. Sorry about that - fixed now! That would definitely have been confusing.
Note that the parameters are in wrong order,also in the example at the end of the document.

FUNCTION CHECK_ALL_TURN(me, unit, tilex, tiley)

Should be (I assume because all script checked have that order)

CHECK_ALL_TURN(me, tilex,tiley, unit)
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Re: ALL_CHECK or CHECK_ALL

Post by pipfromslitherine »

The order doesn't matter, just the naming. It will find the params wherever they are.

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”