ozziedave Posted March 6, 2009 Author Share Posted March 6, 2009 Hi,Could somebody help me used this small Quest code some kind person donated to the forum.Case 2 Call PlayerMsg(index, "I'm the Gate Keeper, can you buy me Zorgon's Ring from the store?", 12) ' If CanTake(Index, 4, 1) = false Then Call PlayerMsg(index, "You didn't get the item! Go buy it from the merchant!", 12) Else Call TakeItem(index, 4, 1) Call GiveItem(index, 4, 1) Call PlayerMsg(index, "Thanks heres your Reward!", 12) End IfThe Error Message is 'TYPE Mismatch 'CanTake', I am using Eclipse 2.7Many Thanks in Advance Link to comment Share on other sites More sharing options...
Squiddle Posted March 6, 2009 Share Posted March 6, 2009 It can not use the function "CanTake" because you need to create the CanTake sub BEFORE you can use that script. Link to comment Share on other sites More sharing options...
ozziedave Posted March 6, 2009 Author Share Posted March 6, 2009 Does this mean that the SUB is not part of the Eclipse Coding, and the person who wrotethe Quest has coded his own Sub. ? Link to comment Share on other sites More sharing options...
Fruitpunch Posted March 7, 2009 Share Posted March 7, 2009 @ozziedave:> Does this mean that the SUB is not part of the Eclipse Coding, and the person who wrote> the Quest has coded his own Sub. ?Its a special command made by godlord(xenonyte but we call him by his original name, godlord)[http://www.touchofdeathforums.com/smf/index.php/topic,28174.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,28174.0.html)Here is the link Link to comment Share on other sites More sharing options...
ozziedave Posted March 7, 2009 Author Share Posted March 7, 2009 Thanks Squiddle.Fruitpunch thanks for putting me on the right track….Learning ALLLL the time !!! 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