Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Change the parent of an instance

by chromatic (Archbishop)
on May 11, 2004 at 18:26 UTC ( #352528=note: print w/replies, xml ) Need Help??


in reply to Change the parent of an instance

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.

Replies are listed 'Best First'.
Re: Re: Change the parent of an instance
by muba (Priest) on May 11, 2004 at 18:30 UTC
    Hmm... that tought has passed my mind in one way or another but I just didn't see the way how to do it. Now you've stated it like a simple thing, I indeed see how simple it is. I'll condsider it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://352528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2023-03-30 02:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (73 votes). Check out past polls.

    Notices?