Facing

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

Facing

Post by enric »

Assuming the bottom left of the map is 16,16.

Why SetCompassNorth(0); puts the North on top, and SetUnitFacing(id, 0) put the facing to the East?

SetCompassNorth(0); // North is on top
SetUnitFacing(PlaceUnit(29, 18, 4, 0, 0, "anyUnit"), 0) ; // facing East

This also happens in BA1.
pipfromslitherine
Site Admin
Site Admin
Posts: 9898
Joined: Wed Mar 23, 2005 10:35 pm

Re: Facing

Post by pipfromslitherine »

It's for historical reasons, based on engine limitations.

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: Facing

Post by enric »

I see you are back!.

I noticed that the units capable of putting smoke, like engineers or some tanks, have a limited amount of rounds but they are not show in the interface. Is that a missing or is it made intentionally?
I ask because I would not like to make a mod, like that I did for BA1, if you are planning to show the smoke charge left.
pipfromslitherine
Site Admin
Site Admin
Posts: 9898
Joined: Wed Mar 23, 2005 10:35 pm

Re: Facing

Post by pipfromslitherine »

I am back! Jetlagged...

I will add checking it out to the buglist for when I can see straight :)

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Modders Corner”