- MBF21: infighting groups.
This commit is contained in:
parent
9b4a4157b9
commit
bca8d01ab3
5 changed files with 54 additions and 15 deletions
|
|
@ -1025,6 +1025,19 @@ DEFINE_PROPERTY(designatedteam, I, Actor)
|
|||
defaults->DesignatedTeam = val;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
// MBF21
|
||||
//==========================================================================
|
||||
DEFINE_PROPERTY(infightinggroup, I, Actor)
|
||||
{
|
||||
PROP_INT_PARM(i, 0);
|
||||
if (i < 0)
|
||||
{
|
||||
I_Error("Infighting groups must be >= 0.");
|
||||
}
|
||||
info->ActorInfo()->infighting_group = i;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
// [BB]
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue