tagging carved heads... - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: tagging carved heads... (/Thread-tagging-carved-heads) |
tagging carved heads... - x77x - 08-19-2017 12:27 AM on the NPC... to tag the corpse Code: ON=@DeathCorpse then when the NPC corpse is carved... Code: [ITEMDEF i_head_general] date and killer work, but i cant get it to take the tags from the container ideas? RE: tagging carved heads... - darksun84 - 08-19-2017 01:51 AM @Create is fired before the item is placed in the world, so itt can't access the container and you have to use timerf 1,tag.locationz=<cont.tag.locationx> i think. RE: tagging carved heads... - x77x - 08-19-2017 04:17 AM i used pickup from pack before and that worked BUT everytime its picked up it changes RE: tagging carved heads... - darksun84 - 08-19-2017 08:33 PM What changes when you pick up the head from the pack? RE: tagging carved heads... - x77x - 08-19-2017 08:47 PM okay this works... tricked it but sure looks UGLY!!! Code: [ITEMDEF i_head_general] see that <eval <TAG.LEVELZ>> ? is there a way to have it tag in decimal and STAY in decimal? everything always gets switched to hex and fucks stuff up... when i use level, its always decimal RE: tagging carved heads... - darksun84 - 08-19-2017 09:55 PM I think numbers are always saved in decimal in tags RE: tagging carved heads... - Ben - 08-20-2017 06:21 AM If a number, it's always saved in hex. If a string, saved as string. The only way to trick it is to add a symbole in it when saving and removing when read. |