FANDOM



HW2_CreateEventPointerSobGroup(<sSubSystemType>, <sSobGroupName>)
Description
Creates an event pointer to the specified subsystem on the lead ship of the specified sobgroup and returns a pointer index.
Note: this function is defined in "data\scripts\scar\scar_util.lua". It is the same function as EventPointer_AddSubSystemFromSobGroup with a predefined white colour.
Example
g_pointer_default = HW2_CreateEventPointerSubSystem( "FighterProduction", "Mothership" )
Arguments
<sSubSystemType>: the type of the subsystem to point to (as defined with NewSubSystemType.typeString within the subsystem files)
<sSobGroupName>: the name of the sobgroup containing the subsystem
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.