Author Topic: [SUGGESTION]: Add scripthook returnFromMissionItem  (Read 355 times)

Offline Osobist

  • Sergeant
  • **
  • Posts: 34
    • View Profile
[SUGGESTION]: Add scripthook returnFromMissionItem
« on: September 28, 2023, 05:48:18 am »
Can we have function returnFromMissionItem as analogue of returnFromMissionUnit? Got a problem that weapon with huge ammo count (1296 in fact) got lost at the end of a mission if at least one round was spent.

The script example in our particular case could look like:

scripts:
  returnFromMissionItem: |
    item.setAmmoQuantity 1296;
    return;