region name - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: region name (/Thread-region-name) |
region name - Van Glan Bloom - 06-13-2017 09:43 AM Hello guys. I was trying to upgrade one of my scripts, in this case taming, but for some reason it is not working properly. My intention is for a message to appear in the world, indicating in which area of the world the animal appeared. Code: on=@create In the game does not appear the message with the indications of the place RE: region name - darksun84 - 06-13-2017 12:04 PM <serv.region> it's not a valid command from the server object. Anyway, the main problem is that in the @create trigger the NPC it's still not placed in the world. So you have to use a timerf along with a function. Example: Code: [FUNCTION broadcastNpcRegion] It works for me also take note that if you write directly the serv.b in the timerf command you will still get a wrong result from <region.name> |