EventPointer_AddSubSystemFromSobGroup(<sSubSystemType>, <sSobGroupName>, <iColour>, <fRadius>)
Displays an event pointer around the first subsystem of <sSubSystemType> in the lead ship of <sSobGroupName> and returns a pointer index.
pointerID = EventPointer_AddSubSystemFromSobGroup( "FighterProduction", "Mothership", HW2_rgb( 230, 230, 230), 0)
<sSubSystemName>: the subsystem type to point to (as defined with NewSubSystemType.typeString within the subsystem files).
<sSobGroupName>: the sobgroup containing the subsystem.
<iColour>: an integer representation of an RGB color code.
Note: use the HW2_rgb function to convert standard RGB color values (ranging from 0 to 255) to the required integer.
<fRadius>: in meters. If set to 0, the bounding radius will be used, instead.
Related Pages

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.