![]() |
I need help making this item.
I want to make a pot that makes a heart when thrown. the problem is i can't get the heart to appear. i tried...
// NPC made by jas988 if (created) { canbecarried; } if (wasthrown) { putleaps 4,x,y; destroy; putobject 5,x,y; } and... // NPC made by jas988 if (created) { canbecarried; } if (wasthrown) { putleaps 4,x,y; destroy; putobject heart,x,y; } but no prevail. I need some help please! |
Is this online or offline?
Also, destroy destroys the object NPC entirely. So putobject never gets called. |
I tried putting destroy after putobject also, but no prevail. x_x
|
lol just used a predefinied pot :D
|
they don't make hearts.
|
mine did :D
|
Quote:
|
yes I want it to come when I throw the pot.
|
Well, it doesn't matter if it doesn't work either way, the destroy should be the last thing done in your script. Aside from that, I have no idea how putobject works.
|
Use non-depricated commands like putnpc and showani..
|
Quote:
|
oh
|
Quote:
Quote:
|
Quote:
|
Quote:
|
I just wanted to find out how to work the putobject command.Does anyone know how?
|
When I remember correctly the putobject command was for replacing tiles, it takes an "object" from the editor tiles panel and places it on the specified position (e.g. a bush,vase etc.). For laying hearts you need to use the lay or lay2 commands.
|
| All times are GMT +2. The time now is 10:09 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.