SetActorTeleFog: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
Content deleted Content added
Blzut3 (talk | contribs)
m Refined behavior.
Blue Shadow (talk | contribs)
m {{git}} -> {{new}}
Line 1: Line 1:
void '''SetActorTeleFog''' (int ''tid'', classname ''telefogsrc'', classname ''telefogdest'')<br>
void '''SetActorTeleFog''' (int ''tid'', classname ''telefogsrc'', classname ''telefogdest'') {{new}}
{{git|93ca850}}


Sets the corresponding actors with the given tid [[Actor_properties#TeleFogSourceType|TeleFogSourceType]] and [[Actor_properties#TeleFogSourceType|TeleFogDestType]].
Sets the corresponding actors with the given tid [[Actor_properties#TeleFogSourceType|TeleFogSourceType]] and [[Actor_properties#TeleFogSourceType|TeleFogDestType]].
Line 6: Line 5:
If tid is 0, the calling actor is considered the activator. Setting the fog to "none" will cause nothing to be spawned for the respective field. Using an empty string will preserve the current fog for that field.
If tid is 0, the calling actor is considered the activator. Setting the fog to "none" will cause nothing to be spawned for the respective field. Using an empty string will preserve the current fog for that field.


==Example==
==Examples==
{{noexamples}}
{{noexamples}}
[[category:ACS Actor functions]]
[[category:ACS Actor functions]]

Revision as of 10:24, 14 February 2016

void SetActorTeleFog (int tid, classname telefogsrc, classname telefogdest) (New from 5.0.0)

Sets the corresponding actors with the given tid TeleFogSourceType and TeleFogDestType.

If tid is 0, the calling actor is considered the activator. Setting the fog to "none" will cause nothing to be spawned for the respective field. Using an empty string will preserve the current fog for that field.

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.