![]() |
Trash - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Trash (/Thread-Trash) Pages: 1 2 |
RE: Trash - victorstelzer - 01-27-2014 10:02 AM this way also the item returned some 21:55: ERROR: (trashcan.scp, 19) Undefined keyword 'argo.timerf' RE: Trash - disayner - 01-27-2014 12:12 PM Why use dclick triger When dclick trashcan be always empty GT-I9500 cihazımdan Tapatalk kullanılarak gönderildi Sorry my english i want to say why dont use dclick triger GT-I9500 cihazımdan Tapatalk kullanılarak gönderildi RE: Trash - Mordaunt - 01-27-2014 09:32 PM On=@DropOn_Self ref1 <argo> src.sysmessage O item sumira em 20 seconds. ref1.timerf 20, f_item_decay If he uses dclick he won't be able to open the trashcan to get the item out if he changes his mind before the timer expires. RE: Trash - XuN - 01-27-2014 11:05 PM This way he won't be able to change of mind too, the timer is going to take effect wether you pick it up or not. ON=@PickUp_Self ref1=<argo> ref1.timerf STOP,f_item_decay RE: Trash - victorstelzer - 01-27-2014 11:45 PM Could use this way, so that when the game on top of the item it removes the trash dumpster over the item. So I need to fix On = Dropon_self not to remove the trash and only the item within That way is not working ON = @ CREATE COLOR = 600 ATTR = attr_static TIMER 15 On = @ DropOn_Self cont.remove remove RE: Trash - XuN - 01-28-2014 12:50 AM cont.remove will remove the cont of the default item on the trigger (in thise case is the trash can itself, so will try to remove the container holding it), if you readed the other posts you will see how the reference to the item being dropped on the container is retrieved via argo, so argo.remove will remove the item instantly after dropping it in the trash can. RE: Trash - Mordaunt - 01-28-2014 01:37 AM Clearly there is some language barrier here. So I am just gonna post this: Code: [ITEMDEF i_trashcan] As for not stopping decay on an item picked up (if still doing the timer because I don't know what he is saying now), given a simple REMOVE command isn't being used, for whatever reason, the delete function could check that the container is still the trash can and if not, cancel the deletion. |