SwapActorTeleFog
Jump to navigation
Jump to search
int SwapActorTeleFog (int tid)
Swaps the TeleFogSourceType and TeleFogDestType fields of the corresponding actors with the given tid.
If tid is 0, the calling actor is considered the activator. This function does nothing to those who have the same source and destination fogs.
Returns the number of how many actors were successfully modified, not including those unaffected from same types.
Examples
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |