- Found in:
- Inventory Functions
Description
Documentation String
Applies akPoison to akObjRef. Note the item MUST be a weapon, or the function will fail and return -1
Returns: The number of poison charges the weapon now has (which should be the same as aiCharges)
or -1 if unsuccessful
Caveats
Parameters
Examples
Auto-Generated Example
ObjectReference myObjectReference__akObjRef
Potion myPotion__akPoison
int myInt__aiCharges
int returnedValue = _Q2C_Functions.SetPoison(myObjectReference__akObjRef, myPotion__akPoison, myInt__aiCharges)