Rage Guy Posted July 9, 2013 Posted July 9, 2013 (edited) I Want a simple NPC When guild Master Talk to him Click Recall Guild He Recall Them on a map Example [ Prontera,63,85 ] Edited July 9, 2013 by SpongeBOB Quote
Capuche Posted July 9, 2013 Posted July 9, 2013 This? prontera,150,150,5 script ihjbnik 56,{ .@guild_id = getcharid(2); if ( !.@guild_id ) { mes "you are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "warp?"; next; if ( select( "yes", "no" ) -1 ) end; warpguild "prontera",161,181,.@guild_id; end; } Quote
Rage Guy Posted July 9, 2013 Author Posted July 9, 2013 its not working i got alot of map errors maybe cuz am using 3CeAM Quote
Capuche Posted July 9, 2013 Posted July 9, 2013 - .@guild_id = getcharid(2); + set .@guild_id, getcharid(2); Quote
Rage Guy Posted July 9, 2013 Author Posted July 9, 2013 where to put this on the script ?? - .@guild_id = getcharid(2); + set .@guild_id, getcharid(2); can any one pls help me Quote
Capuche Posted July 9, 2013 Posted July 9, 2013 - .@guild_id = getcharid(2); - : means 'delete the line' + set .@guild_id, getcharid(2); + : means 'add the line' prontera,150,150,5 script ihjbnik 56,{ .@guild_id = getcharid(2);// <---- REPLACE HERE if ( !.@guild_id ) { Like that prontera,150,150,5 script ihjbnik 56,{ set .@guild_id, getcharid(2); if ( !.@guild_id ) { mes "you are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "warp?"; next; if ( select( "yes", "no" ) -1 ) end; warpguild "prontera",161,181,.@guild_id; end; } it's hard to help you 2 Quote
MukkiesftKies Posted April 2, 2014 Posted April 2, 2014 Capuche can help to work like this after guild leader click npc 2 time, npc recall will hide then another npc will show. Quote
Capuche Posted April 3, 2014 Posted April 3, 2014 prontera,150,150,5 script ihjbnik 56,{ set .@guild_id, getcharid(2); if ( !.@guild_id ) { mes "you are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "warp?"; next; if ( select( "yes", "no" ) -1 ) end; warpguild "prontera",161,181,.@guild_id; .click++; if ( .click%2 ) end; disablenpc strnpcinfo(3); enablenpc "your npc"; } Quote
NeoGenesis Posted July 6, 2014 Posted July 6, 2014 why i use this script get some error ? can help me Capuche ? see this pic > Quote
Capuche Posted July 6, 2014 Posted July 6, 2014 you use eathena or sth replace .click++; by set .click, .click +1; Quote
NeoGenesis Posted July 7, 2014 Posted July 7, 2014 (edited) why me one click at npc then npc will hide ? not two click ? help me pls .. recall_script.txt Edited July 9, 2014 by NeoGenesis Quote
Capuche Posted July 11, 2014 Posted July 11, 2014 prontera,150,150,5 script Fokker 56,{ set .@guild_id, getcharid(2); if ( !.@guild_id ) { mes "You are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "Recall your guild now?"; next; if ( select( "Yes", "No" ) -1 ) end; warpguild "prontera",150,151,.@guild_id; set .click, .click +1; if ( .click % 2 ) end; disablenpc strnpcinfo(3); enablenpc "your npc"; } Quote
Question
Rage Guy
I Want a simple NPC
When guild Master Talk to him Click Recall Guild
He Recall Them on a map Example [ Prontera,63,85 ]
Edited by SpongeBOB14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.