Jacquelinett Posted March 21, 2011 Author Share Posted March 21, 2011 Ok, i was trying to use Lightning's pet system, but I was a newbie and trying to learn. After spending hour study Visual Basic 6, I learned that to add a procedure, I use "call". So, about the pet system, the label part, i put call petattacktarget for the attack part. Is that right? or do i just put petattack?I put both of these and got a compile error. Can someone that have used this explain for me more? Thank Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 Lol. People that know please help us out. Link to comment Share on other sites More sharing options...
Yxxe Posted March 22, 2011 Share Posted March 22, 2011 Firstly, thanks for using my Pet System, and having a good try at figuring it out yourself first! You nearly got there, all you needed to do was to pass "MyIndex" to "PetAttackTarget", like this:```Call PetAttackTarget(MyIndex)```You would also pass "MyIndex" to the other procedures used to control the pet.Regards,Lightning Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 Thanks lightning. That helps alot:) you should include this in your tut. Thanks. Link to comment Share on other sites More sharing options...
Yxxe Posted March 22, 2011 Share Posted March 22, 2011 No problem. And no, I won't be adding it to my tutorial. If you read into it correctly, I always make sure that you have learned something by the end of the tutorial. I don't want people just going "lolcopypasta" and it's done. That's not the point of a tutorial.Regards,Lightning Link to comment Share on other sites More sharing options...
Conra Posted March 22, 2011 Share Posted March 22, 2011 Never thought about it that way!!! Well now i know something new. Some parts of the code is fairly simple and others i don't even understand at all. Lol. But thanks i agree with the person that gave you the 5 star rating and i was also wondering if you could make a second tut that tells us more about customising our pet system like the screenshots i have seen of yours. Thanks Link to comment Share on other sites More sharing options...
Jacquelinett Posted March 23, 2011 Author Share Posted March 23, 2011 >.< okay, so i added it in, now when i compile it, it said Sub or Function not defined.Just give me some hint, I will try to figure it out :Pso… im sure that i added everything in the tutorial in... What do I need to do now? Link to comment Share on other sites More sharing options...
iSKweek Posted March 23, 2011 Share Posted March 23, 2011 Try making sure that you have spelt it correctly (both when you are calling it and when you have defined the sub ;P), I seem to always mix two letters around haha. Link to comment Share on other sites More sharing options...
Jacquelinett Posted March 23, 2011 Author Share Posted March 23, 2011 I did make sure that I spell it right… Link to comment Share on other sites More sharing options...
iSKweek Posted March 23, 2011 Share Posted March 23, 2011 Just checking. Is it declared as public? Link to comment Share on other sites More sharing options...
Jacquelinett Posted March 23, 2011 Author Share Posted March 23, 2011 in ModGameLogic, it just declare as Sub Link to comment Share on other sites More sharing options...
Jacquelinett Posted March 24, 2011 Author Share Posted March 24, 2011 btw, im using Advanced Pet system by Rykou at the same time, too,… so I dont know if that the problem... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now