vaendryl / Sunrider

source code of the visual novel 'Sunrider'
http://sunrider-vn.com/
41 stars 21 forks source link

mousefollow icon does not display properly in skirmish setup. #51

Closed DoumanAsh closed 9 years ago

DoumanAsh commented 9 years ago

When you attempt to place enemy unit SUnrider icon is following. See: http://innomenpro.com/forums/index.php?topic=669.msg15539#msg15539

I suspect that's because there are no code for non-player fraction so no ship is get selected in BM. Which lead to Sunrider icon for all enemy ships.

I'm not very familiar with this part of code and i haven't looked into that when i were moving formation code... but i guess this is not good?

vaendryl commented 9 years ago

I'm not exactly sure what's going wrong but it's clear that somehow BM.selected is getting set to None and not getting updated properly with whatever was selected. I'll just have to mess around with it a little but I'm sure I'll figure it out when I have some time.

DoumanAsh commented 9 years ago

Actually during fomration phase no update is made for enemy units at all. There is condition for Player side only. check fomration_selection() It was like that originally when i copy-pasted it from skirmish.rpy I guess since it was copy-paste of skirmish selection maybe you thought to make some adjustments but forgot about that...?

you can see pieces of code which i posted on forum. I'm not sure how exactly it should be handled so i leave it to you :)