calling typedef problem - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: calling typedef problem (/Thread-calling-typedef-problem) |
calling typedef problem - ograso - 06-13-2014 07:25 AM Hey all, I am trying to use chest system but I have a problem on chest spawn. Basicly I am using a pickaxe item for digging and I give a message "gratz. You pullout". Working perfectly till this line. after that script must be call this trigger "NEW.TYPE=T_L1MAP_CHEST" but nothing happened. I dont understand Where is the problem Code: [ITEMDEF 0e85] RE: calling typedef problem - darksun84 - 06-13-2014 09:02 AM serv.newitem is missing? RE: calling typedef problem - ograso - 06-13-2014 09:58 AM (06-13-2014 09:02 AM)darksun84 Wrote: serv.newitem is missing? If loop is working When I use the pickaxe and trying to dig on the tile. I can see the "gratz. You pullout" message but should be trig NEW.TYPE=T_L1MAP line but nothing happened. Thats mean, the treasure show up when I dig to tile but nothing happened.. Code: ON=@Targon_item RE: calling typedef problem - darksun84 - 06-13-2014 05:31 PM it does nothing because new is not referencing anything RE: calling typedef problem - ograso - 06-13-2014 09:09 PM (06-13-2014 05:31 PM)darksun84 Wrote: it does nothing because new is not referencing anything Problem solved by me. You all very helpful |