- MBF21: added projectile group.
This commit is contained in:
parent
bca8d01ab3
commit
cc801a7efa
3 changed files with 45 additions and 1 deletions
|
|
@ -1038,6 +1038,19 @@ DEFINE_PROPERTY(infightinggroup, I, Actor)
|
|||
info->ActorInfo()->infighting_group = i;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
// MBF21
|
||||
//==========================================================================
|
||||
DEFINE_PROPERTY(projectilegroup, I, Actor)
|
||||
{
|
||||
PROP_INT_PARM(i, 0);
|
||||
if (i < -1)
|
||||
{
|
||||
I_Error("Projectile groups must be >= -1.");
|
||||
}
|
||||
info->ActorInfo()->projectile_group = i;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
// [BB]
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue