forked from UNLOZE/sm-plugins
[entWatch-core] Mark items destroyed when one of their entities is destroyed.
This commit is contained in:
@@ -22,6 +22,8 @@ methodmap CItem < Basic
|
||||
|
||||
myclass.SetFloat("flWait", 0.0);
|
||||
|
||||
myclass.SetBool("bDestroyed", false);
|
||||
|
||||
return view_as<CItem>(myclass);
|
||||
}
|
||||
|
||||
@@ -124,6 +126,18 @@ methodmap CItem < Basic
|
||||
}
|
||||
}
|
||||
|
||||
property bool bDestroyed
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetBool("bDestroyed");
|
||||
}
|
||||
public set(bool value)
|
||||
{
|
||||
this.SetBool("bDestroyed", value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
property bool bClient
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user