Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
September 08, 2024, 05:34:11 am
News:
If you can't login, please
contact us
with your username and e-mail so we can fix it.
Home
Help
Search
Calendar
Login
Register
OpenXcom Forum
»
Modding
»
OpenXcom Extended
»
OXCE Support
»
OXCE Support Y-scripts
»
[Suggestion] add possibility to dynamically change skilliconSprite
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [Suggestion] add possibility to dynamically change skilliconSprite (Read 1350 times)
Osobist
Sergeant
Posts: 36
[Suggestion] add possibility to dynamically change skilliconSprite
«
on:
May 08, 2023, 03:22:21 pm »
Hello. Can we have a feature to dynamically change skillIconSprite depending on tags, which are tied to current BattleUnit? One of the possible usages that we're currently working on right now is the indicator of taken aiming mode.
Logged
Yankes
Commander
Posts: 3276
Re: [Suggestion] add possibility to dynamically change skilliconSprite
«
Reply #1 on:
May 08, 2023, 03:59:27 pm »
Some thing like this could be added.
But what exactly is use case you want have? When you expect this icon to change?
Logged
Osobist
Sergeant
Posts: 36
Re: [Suggestion] add possibility to dynamically change skilliconSprite
«
Reply #2 on:
May 08, 2023, 05:07:56 pm »
The icon's sprite should be calculated at each frame just like selectUnitSprite and selectItemSprite does. Tag's changing on unit comes as trigger to it. The tag change itself happens in skillUseUnit event. Simply talking: unit used skill - the skill icon changed at the same time. Used other skill in same turn - changed again. All goes in realtime.
«
Last Edit: May 09, 2023, 03:49:27 am by Osobist
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
OpenXcom Forum
»
Modding
»
OpenXcom Extended
»
OXCE Support
»
OXCE Support Y-scripts
»
[Suggestion] add possibility to dynamically change skilliconSprite