Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FUNCTION] Steed Spawn by Territory
Author Message
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #1
[FUNCTION] Steed Spawn by Territory
Hello everyone,

I'm going to share some scripts that although have been made for a very peculiar kind of server, some of you may find them interesting and useful and could adapt them to your own servers.

_______________________________________________________________

Although I never used this script, what it basically does is find a random location from a given square to spawn a steed.

This doesn't replace any spawn system you might have because you would need an item for every steed you wanted to spawn, but can be good if you want to spawn one epic rare steed somewhere in yew territory for example but not always in the same exact location.

You don't have to change any of the functions, all you have to do is change the settings explained in the first item in the script.

You provide the steed ID you want to spawn, the time you want the spawn to move to another location (regardless if it has been tamed or not), enter the square location where it will spawn within, and you are ready to go. Add the stone and its done.

The script will find a location to create the desired spawn. If the location found is a guarded zone, a safe zone, or water, it will find another location until it is a valid one.


Attached File(s)
.scp  p_territory_spawner.scp (Size: 2.18 KB / Downloads: 40)
08-16-2015 02:52 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like pointhz's post
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)