antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
leohelloween

Npc Invoca 1 Mob

Question

To tentando fazer um NPC que o player dropa 1 item tem que ir ate ele o NPC pega esse item e invoca 1  dragão

 

say ( "" ) say ( "Posso invocar 1 Dragão" ) say ( "Me traga 1 passaporte" ) say ( "" ) say_reward ( "" )say_reward ( "Ter 1 passaporte" )wait ( ) if pc . level >= 86 thenif pc . count_item ( 71095 ) > 0 then say ( "" ) say ( "Voce tem 1 Passaporteo?" ) say ( "" ) say ( "" ) say ( "" ) pc . remove_item ( 71095 ) say ( "Boa Sorte" )say ( "" ) wait ( )d . spawn_mob ( 2493 ) ; endelse say ( "" ) say ( "Voce nao tem 1 passaporte." ) say ( "Voce falhou com seus amigos" ) say ( "Volte quando tiver!" ) say ( "" ) say ( "" ) say ( "" ) return end say ( "Voce nao tem 1 passaporte" ) say ( "Voce falhou com seus amigos" ) say ( "Volte quando tiver!" )return

 

 

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0

Então mas isso dá te erro?

Share this post


Link to post
Share on other sites
antiblock
diamwall
  • 0

d . spawn_mob ( 2493 ) ;  << nao esta funcionando qual seria o comando a por no npc 

Share this post


Link to post
Share on other sites
  • 0

d.spawn_mob ( ID , X , Y )
-- ID = ID do Mob/NPC
-- X = A Coordenada X para o qual o Monstro vai ser Spawnado. ( Coordenadas Locais )
-- Y= A Coordenada Y para o qual o Monstro vai ser Spawnado. ( Coordenadas Locais )

 

Se ajudei  :+1: 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now