aepa1940 Posted July 12, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 50 Reputation: 0 Joined: 07/09/12 Last Seen: November 11, 2024 Share 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 Link to comment Share on other sites More sharing options...
EvilPuncker Posted July 12, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share 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 Link to comment Share on other sites More sharing options...
Fluffle Puff Posted July 12, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 375 Reputation: 88 Joined: 12/30/11 Last Seen: May 3, 2016 Share 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 Link to comment Share on other sites More sharing options...
EvilPuncker Posted July 12, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted July 12, 2012 @up gethominfo(1) =P Quote Link to comment Share on other sites More sharing options...
Fluffle Puff Posted July 12, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 375 Reputation: 88 Joined: 12/30/11 Last Seen: May 3, 2016 Share 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 Link to comment Share on other sites More sharing options...
aepa1940 Posted July 12, 2012 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 50 Reputation: 0 Joined: 07/09/12 Last Seen: November 11, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
EvilPuncker Posted July 12, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share 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 Link to comment Share on other sites More sharing options...
Fluffle Puff Posted July 12, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 375 Reputation: 88 Joined: 12/30/11 Last Seen: May 3, 2016 Share 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 Link to comment Share on other sites More sharing options...
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.