O Ilusionista
Captain 100K
Questions:
1- When I spawn an entity by script (spawn01), its possible to set an item that entity will spawn when it dies?
2- Its possible to change the SUBTYPE by script? I can see the openborconstant subtype but there is a way to change it to "SUBTYPE_TOUCH"?
I tried a little code, by it crashes the engine
ERROR
1- When I spawn an entity by script (spawn01), its possible to set an item that entity will spawn when it dies?
2- Its possible to change the SUBTYPE by script? I can see the openborconstant subtype but there is a way to change it to "SUBTYPE_TOUCH"?
I tried a little code, by it crashes the engine
Code:
changeentityproperty(self, "subtype", openborconstant("SUBTYPE_TOUCH"));
ERROR
Script function 'changeentityproperty' returned an exception, check the manual for details.
parameters: #274394184, 148, 4,