Difference between revisions of "ScriptObjectSetType"
From Amulets & Armor Wiki
PeeWeeRotA (Talk | contribs) (Created page with "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 Ba...") |
PeeWeeRotA (Talk | contribs) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
'''object''' - Id of the Specific instance of a Thing on the map. (Hover over Thing in Doom Builder to see in Status Bar) | '''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. | + | '''number''' - Thing type id to transform this thing into. User the list of [[Thing Numbers]] to help find the right type. |
=== Example === | === Example === | ||
<nowiki> | <nowiki> | ||
| − | 1: // | + | 1: //transform object into monster |
| − | + | ObjectSetType(87, 1003) ; //transform into ghost | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | ObjectSetType(87, 1003) ; // | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
End() ; | End() ; | ||
</nowiki> | </nowiki> | ||
| + | |||
| + | |||
| + | ---- | ||
| + | Back to [[Scripting]] Main Page | ||
Latest revision as of 20:29, 17 October 2016
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. User the list of Thing Numbers to help find the right type.
Example
1: //transform object into monster
ObjectSetType(87, 1003) ; //transform into ghost
End() ;
Back to Scripting Main Page