• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Need help about script or some thing for spawn NPC

Initiate Mage
Joined
Dec 22, 2012
Messages
4
Reaction score
0
I have an idea for my server, but don't know how to make it. Very simple, i wanna Spawn some NPC on some maps for support my character, they can attack monster and spawn like monster but can't attack my character or any people. Someone Help me make this script:$:

and more, i wanna creat some menu in my item like that :REMOVED, how to make that?
 
Last edited:
Newbie Spellweaver
Joined
Feb 17, 2012
Messages
5
Reaction score
1
Summon clone NPC:
guild_vs2,50,49,5 script Summon Clone 850,{
Onaaa:
getmapxy .@map$, .@x, .@y, 0;
while ( mobcount( strcharinfo(3), "clonecheck::On"+ getcharid(0) ) < 1 )
clone .@map$, .@x, .@y, "clonecheck::On"+ getcharid(0), getcharid(0), getcharid(0), 0x8D, 1;
end;
}
 
Initiate Mage
Joined
Dec 22, 2012
Messages
4
Reaction score
0
Thanks so much....
and...what about menu in item? do you know?
 
Newbie Spellweaver
Joined
Feb 17, 2012
Messages
5
Reaction score
1
it's mean when u used item, u need choise in list menu?

use function script and callfunc in item script
 
Back
Top