ScriptObjectSetType

From Amulets & Armor Wiki
Revision as of 16:47, 17 October 2016 by PeeWeeRotA (Talk | contribs) (Example)

Jump to: navigation, search

ObjectSetType( [object], [number])


Arguments

object - Id of the Specific instance of a Thing on the map. (Hover over Thing in Doom Builder to see in Status Bar)

number - Thing type id to transform this thing into.

Example

1:      //transform object into monster
	ObjectSetType(87, 1003) ; //transform into ghost
        End() ;