Skip to content

HEEEELp Aurora Toolset Script Weapon

hello everyone! please forgive me for my language, I am writing from a translator. I need help with items, or rather with Weapons, potions, etc. I have a script that prevents the loss of weapons if they need to be lost according to the plot. As in one official addition to nwn. And so I have a script, but I do not know how to connect it with a weapon or a potion. I don't have the Script tab in the weapons section. I've already reviewed the entire aurora toolset, and I haven't found how to add a script for weapons or other inventory.

Comments

  • ProlericProleric Member Posts: 1,316
    edited August 11
    Use the module events OnAcquireItem, OnActivateItem, OnUnAcquireItem and (for players only) OnPlayerEquipItem, OnPlayerUnEquipItem.

    You can either edit the module event scripts, or use tag-based scripting.

    Depending on what exactly you want to do, functions like SetItemCursedFlag() or the toolset Undroppable flag might be useful.
Sign In or Register to comment.