posted 09-16- 09:14 AM CT (US) Every1 keeps telling me to check scripts like the bow and sword and dragon and stuff, but i cant help but notice how all of them are cooded. And i also wanted to know if there is a "kill_Sprite" command for if you are picking up something but dont want it in your inventory.
Sphinx
posted 09-16- 08:03 PM CT (US)
You can get the original (uncompiled) scripts from the Dink Network. Check out the hearts and gold scripts for items that don't go in your inventory.
FF4LIFE
posted 09-17- 11:56 AM CT (US)
The way I kill a sprite is this: sp_active(¤t_sprite, 0);
redink1
posted 09-18- 04:15 PM CT (US)
The uncompiled script are located in the develop folder in your Dink Directory, in source.zip.
Gerben
posted 09-21- 08:50 AM CT (US)
You have to script the item to make it appear in your inventory. So I donīt understand what the trouble is. Just leave the add=item line out of the script.
Also items can be removed from your inventory. by using kill_this_item(Bla bla)
But it might be better if you just gave the player the option to add it to your inventory or not.
Gerben
posted 09-21- 08:53 AM CT (US)
Oh I get it Iīm a bit slow today. You want something to disappear when you walk over it!