![]() |
NPC/Pet Spawn - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: NPC/Pet Spawn (/Thread-NPC-Pet-Spawn) |
NPC/Pet Spawn - Lano - 10-09-2012 07:21 PM Hi, i am trying to make a script that works like this: ON=@hit random chance of 10% Summon for example a skelleton knight that is tame/belongs to the player after 60 sec. the skeleton dies while skeleton is active, player can not trigger another summon I am at work right now, so i do not have the script i am working on handy, but it does not matter, i am failing utterly anyway. The random chance of summoning and all that is no biggie, i can also get the server to spawn a new pet next to the player, its just not tame/belongs to him/her, and getting the timers equipped right, also seems to confuse me, please help ![]() RE: NPC/Pet Spawn - Anarch Cassius - 10-10-2012 04:08 AM Two options functions for you. This first is a dispel-able summoning. The second makes an existing creature the pet of a player. Code: [function summon_pet] RE: NPC/Pet Spawn - Lano - 10-10-2012 04:58 PM Thanks, thats easy to work with i'd never been able to figure that one out myself ![]() |