TribesReplay/base/scripts/simGroup.cs
2017-07-17 22:51:48 -04:00

22 lines
625 B
C#

//--------------------------------------------------------------------------
//
//
//
//--------------------------------------------------------------------------
function SimGroup::onTrigger(%this, %triggerId, %on)
{
// Just relay the trigger event to all sub objects...
//
for (%i = 0; %i < %this.getCount(); %i++)
%this.getObject(%i).onTrigger(%triggerId, %on);
}
function SimGroup::onTriggerTick(%this, %triggerId)
{
// Just relay the trigger event to all sub objects...
//
for (%i = 0; %i < %this.getCount(); %i++)
%this.getObject(%i).onTriggerTick(%triggerId);
}