3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: The complete RPG Inventory + Tutorial
[Re: Darkyyes]
#289170
09/11/09 02:47
09/11/09 02:47
|
Joined: Mar 2009
Posts: 146 USA
paracharlie
Member
|
Member
Joined: Mar 2009
Posts: 146
USA
|
I actually was never able to get this all to work even after going through the documents included. Comprehension problem or something I dont know.
A8 Commercial
|
|
|
Re: The complete RPG Inventory + Tutorial
[Re: Darkyyes]
#298075
11/11/09 19:36
11/11/09 19:36
|
Joined: Oct 2008
Posts: 513
Carlos3DGS
User
|
User
Joined: Oct 2008
Posts: 513
|
|
|
|
Re: The complete RPG Inventory + Tutorial
[Re: frankjiang]
#313490
03/01/10 18:23
03/01/10 18:23
|
Joined: Nov 2007
Posts: 318 Brasil, Paraná
NeoNeper
Senior Member
|
Senior Member
Joined: Nov 2007
Posts: 318
Brasil, Paraná
|
hi hii. As I would make to create bags dynamically? for example: Manual. bag* item_bag;
Oks i create the bag manually. Now would make to create bags dinamically? I have the action of enemy. when the enemy to die I want that this action creates a bag automatically, with loot of the enemy.
however this to happen necessary to create a bag for each enemy.
i need that in the proper action this already is made.
somebody could help me
Please! Use easy words to be translated. because my English is not very good! Grateful. _______________________________________________________
|
|
|
Re: The complete RPG Inventory + Tutorial
[Re: NeoNeper]
#313563
03/02/10 07:18
03/02/10 07:18
|
Joined: Sep 2003
Posts: 9,859
FBL
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
|
|
|
Re: The complete RPG Inventory + Tutorial
[Re: FBL]
#313604
03/02/10 14:31
03/02/10 14:31
|
Joined: Nov 2007
Posts: 318 Brasil, Paraná
NeoNeper
Senior Member
|
Senior Member
Joined: Nov 2007
Posts: 318
Brasil, Paraná
|
i no understand.
I see in the manual online the method to use the syntax sys_nxalloc(long size); it is on that you spoke?
You could show an example to me you practise of it?
Last edited by NeoNeper; 03/02/10 17:02.
Please! Use easy words to be translated. because my English is not very good! Grateful. _______________________________________________________
|
|
|
Re: The complete RPG Inventory + Tutorial
[Re: NeoNeper]
#313636
03/02/10 16:59
03/02/10 16:59
|
Joined: Sep 2003
Posts: 9,859
FBL
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
Ah sorry, it's sys_malloc. This is an engine function. http://manual.conitec.net/sys_malloc.htmTry bag* item_bag = sys_malloc(sizeof(bag)); When done, release the memory with sys_free(bag);
|
|
|
Re: The complete RPG Inventory + Tutorial
[Re: FBL]
#313638
03/02/10 17:05
03/02/10 17:05
|
Joined: Nov 2007
Posts: 318 Brasil, Paraná
NeoNeper
Senior Member
|
Senior Member
Joined: Nov 2007
Posts: 318
Brasil, Paraná
|
ooooooooooohhhh tnkx tnkx brother... i gooo nowww to try
Please! Use easy words to be translated. because my English is not very good! Grateful. _______________________________________________________
|
|
|
|