aepa1940 Posted July 12, 2012 Posted July 12, 2012 junto con saludarle quisiera saber lo siguiente ise un npc q evoluciona los homuculos pero si va uno q ya esta renacido lo deja utilizar sin problema y quita los item como puedo poner un if q reconosca q el hom esta renacido y no le deje continuar hablando con el npc if(hom < ?) goto L_renac; L_renac: mes @name$; mes "Lo siento tu homuculus ya esta renacido."; close; lo q esta en rojo es lo q no se q ponerle Quote
EvilPuncker Posted July 12, 2012 Posted July 12, 2012 *gethominfo(<type>) This function works as a direct counterpart of 'getpetinfo': 0 - Homunculus unique ID 1 - Homunculus Class 2 - Name 3 - Friendly level (intimacy score). 100000 is full loyalty. 4 - Hungry level. 100 is completely full. 5 - Rename flag. 0 means this homunculus has not been named yet. 6 - Homunculus level Quote
Fluffle Puff Posted July 12, 2012 Posted July 12, 2012 if(gethominfo(0) >= 6009) goto L_renac; L_renac: mes @name$; mes "Lo siento tu homuculus ya esta renacido."; close; Quote
Fluffle Puff Posted July 12, 2012 Posted July 12, 2012 @EvilPunker, when you use ''@makehomun <homun IDs>'' you have to put the homun ID, from 6001 to 6016 are the homun IDs. you can not use the number ''1'' because it is for homun class. Quote
aepa1940 Posted July 12, 2012 Author Posted July 12, 2012 (edited) lo q ice fue if(gethominfo(1) < 6001 || gethominfo(1) > 6008 ) goto L_renac; L_renac: mes @name$; mes "Lo siento tu homuculus ya esta renacido."; close; y me funco de maravilla no me deja segir hablamdo cuando es renacido y si me deja cuando no lo es mucgas gracias Edited July 12, 2012 by aepa1940 Quote
EvilPuncker Posted July 12, 2012 Posted July 12, 2012 @EvilPunker, when you use ''@makehomun <homun IDs>'' you have to put the homun ID, from 6001 to 6016 are the homun IDs. you can not use the number ''1'' because it is for homun class. but that is what he wanted to do ^^ see his code xD Quote
Fluffle Puff Posted July 12, 2012 Posted July 12, 2012 @EvilPunker, when you use ''@makehomun <homun IDs>'' you have to put the homun ID, from 6001 to 6016 are the homun IDs. you can not use the number ''1'' because it is for homun class. but that is what he wanted to do ^^ see his code xD nevermind, he got it xD Quote
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.