No categories assigned
LUA:RemoveProc
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: RemoveProc()
Removes a proc from the given entity
Syntax
RemoveProc(param1, [param2])
Parameters
- Required - param1 (Spawn), param2 (int8), param3 (float)
- param1 is the entity who we will be removing a proc from
- Optional - param4 (Item)
- param2 is the item that added the proc
Usage
function unequipped(Item, Player)
RemoveProc(Player, Item)
end
When an item with this script is unequipped it will remove all procs that it had added to the player
Notes
This can only be used on an Entity
This function can only be used in an item or spell script, if used in an item script then the item param must be set