Groups.h

From OPU Wiki

Table of contents

ScStub

Base class for all groups and triggers.

DO NOT USE


Trigger

All Triggers use the same class: Trigger. Do NOT use the constructors of this class to initialise it, cause that will only crash OP2. Use the trigger functions instead. You can use the Disable and Enable procedures to turn the trigger off/on after it was created.


Pinwheel

Pinwheel has not yet been fully documented. For now, do NOT use it.


ScGroup

Base class for all group classes. Do NOT use directly, use the group creation function instead.

TakeUnit adds 1 more unit to the group. They should be created first, using TethysGame::CreateUnit. A unit can only be part of 1 group at any time
RemoveUnit removes the specified unit. The unit itself will no longer obbey group commands
Personal tools