Author Topic: Advanced Said() Strings - Part 3 - Prepositions (and Unclassified words)  (Read 9761 times)

0 Members and 2 Guests are viewing this topic.

Offline gumby

Example of the preposition 'in', which is classified in the vocab as a preposition (in the template game):
Code: [Select]
   // Responds to user input of: 'put key in lock'
    (if(Said('put<in/key/lock'))
       Print("You put the key in the lock")
    )  

Example of the preposition 'with', but has an unclassified word class in the template game:
Code: [Select]
   // Responds to user input of: 'open door with key'
    (if(Said('open/door/key<with'))
       Print("You open the door with the key")
    )

Don't despair with this discrepancy.  By setting 'with' to a preposition it will behave just like the 'in' preposition example.


In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline MusicallyInspired

Re: Advanced Said() Strings - Part 3 - Prepositions (and Unclassified words)
« Reply #1 on: November 30, 2010, 01:46:53 PM »
Good to know!
Brass Lantern Prop Competition

Offline Cloudee1

Re: Advanced Said() Strings - Part 3 - Prepositions (and Unclassified words)
« Reply #2 on: January 21, 2015, 01:48:10 PM »
Add to Tutorials > SCI > Your First Game > Handling the Player's "Said" Input
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition


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

Page created in 0.058 seconds with 21 queries.