IMG ElementSpecifies a replacement hangman image. Syntax<IMG SRC="src" /> Attributes
PlacementAn IMG element must be a child of the HANGMAN element, either within a location or within global settings. ChildrenNo children are supported within the IMG element. RemarksBy default, TQS uses eight hangman images to show the player's errors. This means that the seventh mistake brings death. When you use replacement images, you may use as many as you want; if you have n IMG elements, death will occur on the n-1 mistake. The parent HANGMAN element must have its REPLACEIMG attribute set to "1" in order for the IMG elements to be used. The image files must reside in the data root folder. This is, by default, the folder containing the .TQS file.
ExamplesThe user will lose upon a fourth mistake: <HANGMAN REPLACEIMG="1"> <IMG SRC="hangnormal.gif"/> <IMG SRC="hangbody.gif"/> <IMG SRC="hanglegs.gif"/> <IMG SRC="hangarms.gif"/> <IMG SRC="hangdead.gif"/> <WORD>...</WORD> ... </HANGMAN> <IMG SRC="NOROOT?http://www.example.com/dead.gif" /> <IMG SRC="EMBED?dead.gif" /> |