About Store Forum Documentation Contact



Post Reply 
Dynamic Chr
Author Message
Tupac Offline
Member

Post: #1
Dynamic Chr
Hi.
I saw in tutorials the way to create dynamically Objects in the world witch are a part of it.
Really good way to make dropped items by the Mobs.
The function is World.objCreate() but i did not fount any to make Chr.
Are they simple objects and can i create them with the same command?
Is there a better way to dynamically create Chr?


thnx in advance.
07-14-2009 12:21 PM
Find all posts by this user Quote this message in a reply
Brainache Offline
Member

Post: #2
Re: Dynamic Chr
Use World.objCreate() or ( i think its.. ) World.objCreateNear()...

And pass it an object file of a Chr...
07-14-2009 04:22 PM
Find all posts by this user Quote this message in a reply
Tupac Offline
Member

Post: #3
Re: Dynamic Chr
thanks it works !
but where is stored the object ?
Function returns Bool ... I have no Ptr
07-14-2009 05:36 PM
Find all posts by this user Quote this message in a reply
Tupac Offline
Member

Post: #4
Re: Dynamic Chr
ok found.
using objCreateNear() witch returns obj*
i just cast it in Chr extended and it is stored in default Memx contain for Chr ^^
good ty
07-14-2009 05:58 PM
Find all posts by this user Quote this message in a reply
Post Reply