2011-03-04, 06:41 AM
Yes, 'Pit Trap' is just a tag in the PRT file. The tag causes the player to take damage if they drop below that Piece's ground level.
You can make any Piece a 'pit-trap' using the Piece Editor.
You could set a Piece's 'ground level' to any elevation needed (by changing it's MHM file) and thus trigger events when the player takes damage as they pass through the desired elevation on the Y axis.
Probably most useful for fall damage/death scenarios, but it could also trigger cut-scenes or move objects as the player falls.
You can make any Piece a 'pit-trap' using the Piece Editor.
You could set a Piece's 'ground level' to any elevation needed (by changing it's MHM file) and thus trigger events when the player takes damage as they pass through the desired elevation on the Y axis.
Probably most useful for fall damage/death scenarios, but it could also trigger cut-scenes or move objects as the player falls.