Classname: | puzzle_static_piece |
Purpose: | Representing puzzle pieces that have been put into their correct places |
H2 Code: | triggers.hc |
fields required: | origin,puzzle_id,targetname |
puzzle_static_pieces don't appear until their targetname is triggered, and they can't be picked up. They sit where you stick them with the editor, rather than auto-dropping to a convenient height off the floor. |
origin | Value is a triple of numbers, where the piece is. Should be handled visually by map-editor, automatically. |
puzzle_id | Value is the name of the puzzle_piece, listed here. EutecTic says that actually any name of an .mdl will do. REQUIRED. |
targetname | Value is a name, targetted by a trigger. Piece doesn't appear until the trigger fires. REQUIRED (if you want the piece to actually show up...) |
lifespan | Value is a number, how long the piece remains visible. Default=0 means forever. |