On and In

dennis
18 Feb 2005, 23:02
I'm terribly sorry to spam the forum with questions but..

Is it possible to get QDK to recognice In as being the same as On??
(As in "use coin on vending machine/use coin in vending machine".)

That way you could simply use the use on/in for everything and not be forced to make specific use in scripts..

This would be ever so useful if your game sported tons of vending machines etc.

I can't see there being any problems where the player would need the to to be separated. ('In to' or 'On top of' are quite specific.)


PS: Yes I KNOW its friday night -I'm going out to pull chicks tomorrow night - just as you know.

dennis
18 Feb 2005, 23:42
Oh dear I'm replying to my own posts now..

Anyway I've just found the Synonyms feature (The talented Quest designers seems to have though of everything - except thick users such as myself.) which I suspect can help me solve my On/IN problem (erm.. the synonym feature - not the thick users - but the again..).

My problem:
I can't seem to enter the word I want to make a global synomym for.

When I click Edit nothing happens. If I continue I only get to make sysnonyms for an empty box..

What am I not understanding?? I guess I have to specify the word I want to make synonyms of somehere else, or is it the libs??

Anonymous
20 Feb 2005, 08:46
Dennis

If you search back through these forums a liittle, you'll find a discussion on using typelib containers as things to put other things ON and not IN...

it is pretty much substitution, but worth reading for a few gotchas...


Al (maDbRiT)

dennis
20 Feb 2005, 16:49
OK.
I ve restrained from making my vending machine into a container for coins due to my 'lamp as a container' fiasko. (Ended up using variables and other Jedi mind tricks instead - only took three days)

But as I dont need the player to retrieve his/her coin after it has been spent this should work nicely.

Another one down - Thanks again maDbRiT