PDA

View Full Version : Item Script?


darthriddick
04-03-2007, 08:32 PM
Does anyone have a script that would allow me to create a custom item inside freedon nadds muumifyed body on DXN, by using a DLG string?
and if so could you post it for me?

Thanks
~DR

stoffe
04-03-2007, 09:26 PM
Does anyone have a script that would allow me to create a custom item inside freedon nadds muumifyed body on DXN, by using a DLG string?
and if so could you post it for me?



This should probably work, if you compile it into a NCS file and then put its name (without the .ncs extension) as the Action script on a dialog node, provided that the dialog takes place inside the tomb:


void main() {
object oMummy = GetObjectByTag("corpse");
CreateItemOnObject("UTIName", oMummy);
}


Replace UTIName with the name of the UTI file containing the template for the item you wish to spawn.