![]() Loads the chunk of the location as specified into the server memory so that it does not despawn. announce "No mention of Bob can be found. if = "davidcernat" execute as_server "ban "Įlse if announce "'s name contains Bob! Smite them!" This will continue happening until the script either runs out of comparables or reaches an 'else', in which case the commands inside the 'else' will be run and the script will continue.Įxamples - if " announce "Hahaha! has no stone!" If it is false, the next 'else if', if there is one, will be compared, and if that is true, the commands in that 'else if' will be run and no more comparables will be checked. anchor id:Treasure_Chest walkto range:30Ĭompares one value to another and if the outcome is true, the commands inside the 'if' statement will be run and no more comparables will be checked. Whereas Walknear has the npc be less precise when walking to the point: Walkto has the NPC walk directly to the point chat "You know, I actually don't think I'll ever need to return here again, I will delete this anchor point"Īn example of a command for an NPC to walk towards a specified anchor point. Two commands demonstrating how one may remove a specified anchor via an NPC" Chat "Wow, Now that I've walked to this location I am going to create an anchor point at this location so ![]() Two commands demonstrating how one may add an anchor based on the NPC's location: Allows for a specified range in which the NPC in questionĮxamples A command having an NPC assume an Anchor: "/npc anchor" Allows for dynamic specified pathing based on predefined points. (range:#)Īssumes, Adds, Removes and orders an NPC to walkto or to walknear an anchor that has been specified using the Citizens 2 npc command
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |