LineEffect: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
m (formatted)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Parameter Information==
{{codepointer
*'''misc1''' = Line special (default of 0 = 0)  
|description=Allows objects to trigger linedef specials from frames.
|usage='''LineEffect'''
 
'''misc1''' ''special_id''
 
'''misc2''' ''tag''
|parameters=
*'''misc1''' = Line special (classic format, not UDMF; default of 0 = 0)  
*'''misc2''' = Sector tag (default of 0 = 0)  
*'''misc2''' = Sector tag (default of 0 = 0)  
|notes=
This effect can trigger any W1/WR/S1/SR line effect. It does not work for G1/GR line effects. If a W1 or S1 line effect is triggered, the object will not be able to trigger any additional line effects. If the line special provided is not a valid type, nothing will occur. Note that the action will occur as if a player has activated the line, and not a monster.


==Purpose==
Notes: As of Eternity Engine v3.31 Delta, this codepointer cannot cause accidental corruption of memory under any circumstances. While exceedingly rare, this could have occurred occasionally in MBF and SMMU.
Allows objects to trigger linedef specials from frames. This effect can trigger any W1/WR/S1/SR line effect. It does not work for G1/GR line effects. If a W1 or S1 line effect is triggered, the object will not be able to trigger any additional line effects. If the line special provided is not a valid type, nothing will occur. Note that the action will occur as if a player has activated the line, and not a monster.


Warning: This codepointer may cause undesired side effects in some situations by affecting the first line defined in the map and/or the sector(s) which it references. Use with caution!
Warning: This codepointer may cause undesired side effects in some situations by affecting the first line defined in the map and/or the sector(s) which it references. Use with caution!
 
}}
[[Category:Codepointers]]
[[Category:MBF codepointers]]

Latest revision as of 07:52, 25 April 2020

Description

Allows objects to trigger linedef specials from frames.

Usage

LineEffect

misc1 special_id

misc2 tag

Parameters

  • misc1 = Line special (classic format, not UDMF; default of 0 = 0)
  • misc2 = Sector tag (default of 0 = 0)

Examples

No examples given.

Notes

This effect can trigger any W1/WR/S1/SR line effect. It does not work for G1/GR line effects. If a W1 or S1 line effect is triggered, the object will not be able to trigger any additional line effects. If the line special provided is not a valid type, nothing will occur. Note that the action will occur as if a player has activated the line, and not a monster.

Notes: As of Eternity Engine v3.31 Delta, this codepointer cannot cause accidental corruption of memory under any circumstances. While exceedingly rare, this could have occurred occasionally in MBF and SMMU.

Warning: This codepointer may cause undesired side effects in some situations by affecting the first line defined in the map and/or the sector(s) which it references. Use with caution!

See also