Author Topic: Vocab.000  (Read 5962 times)

0 Members and 1 Guest are viewing this topic.

Offline AndyPanda

Vocab.000
« on: June 24, 2004, 01:46:03 AM »
Hey!
I can't find a way to get the word "Call" understandable by the game (I.E. "Call man"). I set is as indicative verb. But when I use it, in this case with a telephone, the game doesn't understand it. "Use" works, and that is indicative verb too, so I don't understand why this doesn't work. What did I miss?



Offline Cloudee1

Re:Vocab.000
« Reply #1 on: June 24, 2004, 02:02:46 AM »
I checked in my games vocab and "call" is listed with phone and telephone as either a noun or IMPERATIVE verb. Try putting call in it's own category and if as indicative verb it still doesn't work change it to an imperative verb, vocabs seem to work best when they don't have more than one designation.

Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline AndyPanda

Re:Vocab.000
« Reply #2 on: June 24, 2004, 02:22:50 AM »
I tried that, but it didn't work. I've tried putting it in it's own group as Imperative verb, indicative verb, and both. If I put it along with "use" it worked (indicative verb), but then "use" equals "call"  :D That doesn't work so well, hehe.

Offline Cloudee1

Re:Vocab.000
« Reply #3 on: June 24, 2004, 02:54:18 AM »
I'm thinking here, but I'm not really sure what is going on.

ok I started a new game from template, did NOT change any vocab resources and coded this:
Code: [Select]
(if(Said('call/man'))Print("calling"))Call= noun, imperative verb
Man= noun
 
and it seems to work!

Uhm, ok I did what I told you to do:
 first trying imerative verb - and it works
 then indicative verb- and it works,

1. Are you saving the vocab  resource before you test your code?
2. Are you rebuilding after your changes before you run?
3. Did you change man's definitions at all?
4. Are you scripting alot of if's and else's?
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline Eigen

Re:Vocab.000
« Reply #4 on: June 24, 2004, 03:45:22 AM »
I have the same problem with a word 'newspaper'. I can't use it in my game, but works fine in the template.


-Eigen
Artificial Intelligence Competition

Offline AndyPanda

Re:Vocab.000
« Reply #5 on: June 24, 2004, 03:53:21 AM »
Yay, it worked. It seems like there was some sort of bracket misplacement somewhere. I put the code further up in the script, and voila. I still haven't figured out what caused it though  ;)


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.02 seconds with 16 queries.