![]() |
ON=@ItemDropOn_Ground - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: ON=@ItemDropOn_Ground (/Thread-ON-ItemDropOn-Ground--4211) |
ON=@ItemDropOn_Ground - ForesteR - 06-13-2015 05:11 AM this trigger is working except the ACT.CONT=<SRC.FINDLAYER.29> || ACT.CONT=<SRC.FINDLAYER.21> isnt working in last nightly build, someone know what about? ON=@ItemDropOn_Ground IF (<ACT.BASEID>==i_book_vip) || (<ACT.BASEID>==i_robe_vip) SRC.SYSMESSAGEUA 07a1,0,0,0 <ACT.NAME> nao pode ser jogado no chao. IF (<SRC.WEIGHT> > <SRC.MAXWEIGHT>) ACT.CONT=<SRC.FINDLAYER.29> SRC.SYSMESSAGEUA 07a1,0,0,0 <ACT.NAME> foi para seu bank pq vc estar muito pesado. RETURN 1 ENDIF ACT.CONT=<SRC.FINDLAYER.21> RETURN 1 ENDIF Anothers triggers like ON=@ItemDropOn_Item is working perfecly! RE: ON=@ItemDropOn_Ground - Skul - 06-16-2015 09:42 AM That happens because sending CONT does not update the container of the item unless the container is opened. There are little work arounds for it, such as sending the item under ground prior to changing it's CONT. Example: Code: on=@itemdropon_ground RE: ON=@ItemDropOn_Ground - ForesteR - 06-16-2015 10:04 AM don't work... i tryed to put a new position ( p=1419,1696 ) for item and don't work ... RE: ON=@ItemDropOn_Ground - ForesteR - 06-17-2015 09:54 AM Make a trick with timer and work suggestions? PHP Code: [TYPEDEF t_e_items_vip] |