Puzzle static pieces

Puzzle static pieces

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.

Fields

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.

Note

The puzzle_static_pieces in the game tend to have an angle field, and the comments say the don't bob and rotate, but they do, so I guess there was a change.
Back to the list.