|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Change the parent of an instanceby chromatic (Archbishop) |
| on May 11, 2004 at 18:26 UTC ( #352528=note: print w/ replies, xml ) | Need Help?? |
|
Now here's the problem: when the player kills a foe called "a male elf soldier", it should turn into an item called "the corps of a male elf soldier". Therefor, I need to change the parent of this particular instance of Foe to Item. Perhaps you'd find it easier to create a new Item, copying over the appropriate data from the Foe. That's what I'd do anyway.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||