Homeworld Effects Manual: setIsWorldSpace()

setIsWorldSpace(int flag)

Legal values: all integers

Default value: 0

Determines whether effect moves with parent ship.

If flag is 0, the object will inherit the movement of its parent ship. If the ship changes course or speed, the object will stay with it. Otherwise, the object inherits the velocity the ship had at the time of the object's creation, but that velocity is not updated. If the ship changes course, the object drifts away.

Gravwell effects are always locked to the Gravwell, no matter what setIsworldSpace() says.

Setting flag to 1 messes up beam weapon bullets, so don't do it.