- Found in:
- Inventory Functions
Description
Documentation String
Set the number of poison charges on akObjRef
Returns: The number of poison charges now on the weapon in aiHandSlot (which should be the same as aiCharges)
or -1 if unsuccessful for any reason (eg the item is not a weapon, or no poison applied)
Caveats
Parameters
ObjectReferenceakObjRef
intaiCharges=1
Examples
Auto-Generated Example
ObjectReference myObjectReference__akObjRef
int myInt__aiCharges
int returnedValue = _Q2C_Functions.SetPoisonCharges(myObjectReference__akObjRef, myInt__aiCharges)