Jump to content
  • 0

disguise using item


Blue Jem

Question


  • Group:  Members
  • Topic Count:  151
  • Topics Per Day:  0.04
  • Content Count:  393
  • Reputation:   3
  • Joined:  09/16/13
  • Last Seen:  

example : this item 7227

when i use this im disguise randoms mobs.( poring or ETC mobs) and  i remove or click again back to normal undisguise

 

 

i use this  after im disguise is not return the normal character or undisguise

{ atcommand "@disguise 1511"; },{ atcommand "@undisguise"; },{}
 
Edited by Blue Jem
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

Is that an equip? or usable?  

Edited by iraciz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Try : 

{},{ atcommand "@disguise 1511"; },{ atcommand "@undisguise"; }

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  140
  • Topics Per Day:  0.03
  • Content Count:  562
  • Reputation:   108
  • Joined:  10/05/12
  • Last Seen:  

 I better recomend you  to create an item function for that purpose.

 

you have to add first the function to your item.

 TCG_CARD ( I wonder how could you add a custom script! to an item that is not even usable) anyway.

 

functions are scripts that can be trigered by any USABLE, ClickAble, Delayed, non misc item.

 

ok, lets say that you make the tcg card usable now you  add this script to your item

7227    callfunc "disguiser"; },{},{}

 

add this script in your custom npc folder (yes you have to create new txt in your custom npc files)

name the new file  disguiser, paste this content and save. 

 

function    script    disguiser    {
 
if(disguiser == 0){
switch( rand(18) ) {
case 0: atcommand "@disguise 1511"; break;
case 1: atcommand "@disguise 1898"; break;
case 2: atcommand "@disguise 1806"; break;
case 3: atcommand "@disguise 2017"; break;
case 4: atcommand "@disguise 2310"; break;
case 5: atcommand "@disguise 1388"; break;
case 6: atcommand "@disguise 1089"; break;
case 7: atcommand "@disguise 1200"; break;
case 8: atcommand "@disguise 1839"; break;
case 9: atcommand "@disguise 1154"; break;
case 10: atcommand "@disguise 1408"; break;
case 11: atcommand "@disguise 1785"; break;
case 12: atcommand "@disguise 1092"; break;
case 13: atcommand "@disguise 1989"; break;
case 14: atcommand "@disguise 1987"; break;
case 15: atcommand "@disguise 2018"; break;
case 16: atcommand "@disguise 1700"; break;
case 17: atcommand "@disguise 1933"; break;
    }
    set disguiser, 1;
        end;
    }
    if(disguiser == 1){
    atcommand "@undisguise";
    set disguiser, 0;
    end;
    }
}

 

you will have something like this, I used meat as example, but you can use anything.

http://www.youtube.com/watch?v=Y358lcZkU2Y&feature=youtu.be

cya Dear

 

18 random disguises were added in that script,

but you can add more or remove, or re-edit the ids, for those you like most. is up to you

Edited by iraciz
Link to comment
Share on other sites

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.

×
×
  • Create New...