Thing Event:

thingid
state




This is used to force a thing to certain states. The state value can be anything, but must reference an existing state in THINGS.DDF.

the thingid can be the name or number from THINGS.DDF, like IMP or 3001.

Most useful for special events, like walking up to a human, pressing space (or the use button) which causes a friendly monster to enter states that make him talk, give advice, or a hint. You could also do events like make a weapons house, and a merchant inside that talks to you, or sells weapons and ammo.