I keep on getting a type mismatch error when running this and the NPC I'm looking for is not on the main-screen.
Here's the code: http://paste.villavu.com/show/MCIa1d6DgZUk6xBuun1P/
I keep on getting a type mismatch error when running this and the NPC I'm looking for is not on the main-screen.
Here's the code: http://paste.villavu.com/show/MCIa1d6DgZUk6xBuun1P/
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
Type mismatch cant be from it not being on screen :S... When its on screen aka Mainscreen? Does it not give this error? Type mismatch is when parsing the wrong parameters to a function..
I believe your attempted to a walk to a tile in which you cannot walk..
I am Ggzz..
Hackintosher
When its onscreen the code exits. BTW, the error is at Params[1] and sometimes at waitfuncex('tileonmswrap', params, ...)
Edit: REsolved. Thanks dgby
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
What was the solution?![]()
Well that has to be a bug, right? Why couldn't a variant support a TTile? Shouldn't it support any type?
I believe only integers and strings are supported by variants in PS.
Never ever approach a computer saying or even thinking "I will just do this quickly".
Well all types use a basic type, so I don't see why this should be unsupported. :/ Unless we'd just have to make a different type that supported custom types or something? dunno.
This certainly should be a suggestion for newer PS version things...
"Logic never changes, just the syntax" - Kyle Undefined?
Remember, The Edit Button Is There For A Reason!!!
There are currently 1 users browsing this thread. (0 members and 1 guests)