A_BridgeInit

From ZDoom Wiki
Jump to navigation Jump to search

A_BridgeInit [(string type)]

Creates a number of type things (BridgeBall by default, though you can derivate a different class from it). By default, three are created, though if the calling actor's third argument is non-null, it is used as the amount instead.

Each of the spawned thing is placed in a circle around the calling actor, and all are made to immediately call A_BridgeOrbit which will position them precisely.

This codepointer is restricted to CustomBridge and derived classes.