Jump to content
  • 0

Armor Disguiser ^^ PLZ Help


Question

Posted

Hi guys,
I need a disguiser which disguises player into a mob
but only if he has equiped a certain armor He can choose any monster
just need to put monster id ^^ 

please help

Regards Nash

 

22 answers to this question

Recommended Posts

Posted
prontera,150,150,0	script	Test	123,{
	if(Disguised > 0) {
		mes "Do you want back to normal ?";
		if(select("Yes:No")== 1) {
			atcommand "@undisguise";
			set Disguised, 0;
			mes "Here you go!";
		} else {
			mes "Have fun with your appearance";
		}
		close;
	}
			mes "I can disguise you into any monster";
			mes "Do you want to try?";
			if(select("Of Course:No yet")==1) {
				if(isequipped(2220)) { //change the item id here
					mes "Type Monster Name or Monster ID?";
					if(select("Name:Id")==1) {
						input @name$;
						atcommand "@disguise "+@name$;
					} else {
						input @id;
						atcommand "@disguise "+@id;
					}
				mes "Come back here to back to normal";
				set Disguised, 1;
				close;
				}
				mes "You must wear HAT to be able to use me!";
			}
			mes "Feel free to come back again";
			close;
		}

If you want to change the item ID:

if(isequipped(2220)) { //change the item id here
  • Upvote 3
Posted (edited)

Thx and is there any way i can make that script for class suites?
Cause mob suite+ Cloak Cant be seen with maya p

Edited by Nash
Posted

But I think the item script could be made like this:

2220,Hat,Hat,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,16,{},{},{ if (Disguise==1) atcommand "@undisguise"; }

So the atcommand won't be executed if the player isn't disguised.

Posted

prontera,155,175,5	script	Sample	757,{
if( select( "Disguise Monster","Un-Disguise" ) == 2 ){
	mes "You are now un-disguised.";
	undisguise;
}else{
	mes "Enter Mob ID.";
	do{
		input .@mob_id;
		if( !.@mob_id ) close;
	}while( getmonsterinfo( .@mob_id,MOB_NAME ) == "null" );
	disguise .@mob_id;
	mes "Disguised into "+getmonsterinfo( .@mob_id,MOB_NAME );
}
close;
}

 

alway make use of script command .... disguise and undisguise ...

avoid of using @command in npc ...

  • Upvote 1
Posted

But I think the item script could be made like this:

 

2220,Hat,Hat,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,16,{},{},{ if (Disguise==1) atcommand "@undisguise"; }

So the atcommand won't be executed if the player isn't disguised.

 

Yes It's fine.

 

 

Hii guys can i request for Class disguise Npc?

 

What do you mean by Class Disguise?

Posted

But I think the item script could be made like this:

 

2220,Hat,Hat,5,1000,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,16,{},{},{ if (Disguise==1) atcommand "@undisguise"; }

So the atcommand won't be executed if the player isn't disguised.

 

Yes It's fine.

 

 

>Hii guys can i request for Class disguise Npc?

 

What do you mean by Class Disguise?

 

Hmm like if ur are wearing Specific armor you can disguise ur self into any other class

Posted (edited)

As Emistry Said Use Changebase

refer to this script 
 

mes "[Test NPC]";
mes "Would you like to change your sprite?";
menu " - Yeah, that'd be !",yes," - No, wth are you on about?!",no;

yes:
	mes "Excellent!";
	mes "I will now make you look like a....";
	changebase 4072;
	mes "^FF0000Shadow Chaser^000000!!";
	close;

no:
	mes "But but.. Shadow Chasers are  T.T";
	close;

 

changebase 4072;
 

Changebase "Jobid";
Will change ur looks into that job

Edited by Nash
Posted

Thx and is there any way i can make that script for class suites?

Cause mob suite+ Cloak Cant be seen with maya p

 

Were you able to fix this? I can't see cloaked players using mob suits even with mayap.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...