Template:ZScriptDefinitionNote

From ZDoom Wiki
Jump to navigation Jump to search

Place above ZScript code that is taken directly from GZDoom and should not be copy-pasted into custom projects (such as vanilla Doom monster code).

How to use

If pasted as {{ZScriptDefinitionNote}}, the result will be:


Note: The ZScript definition below is for reference and may be different in the current version of GZDoom.


Optionally, | can be added, followed by a link to the original code on GitHub repository. The link must start with the subfolder name under the /zscript/ folder. For example, {{ZScriptDefinitionNote|actors/doom/possessed.zs#L2}} will resolve to:


Note: The ZScript definition below is for reference and may be different in the current version of GZDoom.The most up-to-date version of this code can be found on GZDoom GitHub.


The template:

Note: The ZScript definition below is for reference and may be different in the current version of GZDoom.