Tupac
Member
|
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 |
|
Brainache
Member
|
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 |
|
Tupac
Member
|
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 |
|
Tupac
Member
|
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 |
|