Linedef type 459
Linedef type 459, Control Text Prompt, is a type of linedef executor which, when triggered, opens a text prompt.
Binary Setup
If Flag [1] / Block Enemies is set, any currently open text prompt is closed. Otherwise, a new text prompt is opened. The control linedef's front X offset determines the number of the prompt that is opened. The front Y offset determines the page number of the first page in the prompt that is displayed. If Flag [15] / Transfer Line is set, the prompt is identified via a named tag that is written across the control linedef's front textures instead. The name in the front textures must match the Tag field of the page that should be opened.
The text prompt is only displayed for the player that triggered the linedef executor. The controls of that player are disabled while the prompt is displayed, unless Flag [7] / No Midtexture Skew / Effect 2 is set.
If Flag [5] / Slope Skew / Effect 1 is set, a linedef executor is triggered once the opened text prompt closes. If the control linedef is one-sided, the tag of the trigger linedef that is called is determined by the control linedef's tag. Otherwise, it is determined by the back X offset.
| ||||||||||||||||||||||||||
UDMF Setup
If Flag [1] is set, any currently open text prompt is closed. Otherwise, a new text prompt is opened. Argument 1 of the control linedef determines the number of the prompt that is opened. Argument 2 determines the page number of the first page in the prompt that is displayed. If Flag [4] is set, the prompt is identified via a named tag that is written in the control linedef's String Argument 1 instead. The name in this field must match the Tag field of the page that should be opened.
The text prompt is only displayed for the player that triggered the linedef executor. The controls of that player are disabled while the prompt is displayed, unless Flag [8] is set.
If Flag [2] is set, a linedef executor is triggered once the opened text prompt closes. The tag of the trigger linedef that is called is determined by the control linedef's Argument 4.
| To do get the string argument boxes to show up |
| |||||
stringargs = stringarg0: Prompt Name
Sample
- Example file: ex_ld459_controltextprompt.wad (MAP01)
| How to use |
|---|
|