entWatch4: Drop based on configured slot.
Dont drop if not configured, or knife.
This commit is contained in:
@@ -21,6 +21,7 @@ methodmap CConfig < Basic
|
||||
myclass.SetInt("iTriggerID", 0);
|
||||
|
||||
myclass.SetInt("iDisplay", 0);
|
||||
myclass.SetInt("iSlot", 0);
|
||||
myclass.SetInt("iMode", 0);
|
||||
|
||||
myclass.SetInt("iMaxUses", 0);
|
||||
@@ -132,6 +133,18 @@ methodmap CConfig < Basic
|
||||
}
|
||||
}
|
||||
|
||||
property int iSlot
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iSlot");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iSlot", value);
|
||||
}
|
||||
}
|
||||
|
||||
property int iMode
|
||||
{
|
||||
public get()
|
||||
|
||||
Reference in New Issue
Block a user