31
OXCE Support Y-scripts / [Solved] Script access to builtInWeapons.
« on: August 09, 2021, 09:18:28 am »
Continuing this discussion:
https://openxcom.org/forum/index.php/topic,9992.0.html
I managed to create an item, which represents shield power. It is built-in in armor, and updates each turn.
But now i want to update it each time the unit is hit. And i can not gain access to this item from "hitUnit:" script hook.
Is this even possible?
https://openxcom.org/forum/index.php/topic,9992.0.html
I managed to create an item, which represents shield power. It is built-in in armor, and updates each turn.
But now i want to update it each time the unit is hit. And i can not gain access to this item from "hitUnit:" script hook.
Is this even possible?