Functions Documentation
View Function Edit Function
Name objGetOverlayPos
Syntax (objGetOverlayPos sObj overlayID) -> vector
Argument List sObj: spaceOjbect the overlay is on
overlayID: the overlay to get the position of
Returns vector: the position (relative to the spaceobject?)
Category overlay
Description Returnst he position of the overlay, as set in objAddOverlay.
Example From EncountersVol01.xml
; Do damage
(setq result (objDamage 
'("pteravores" 0x40) 
(objGetOverlayPos gSource aOverlayID)

Damages hosts ship's armor segment which corresponds to the position of the overlay.