Advanced Said() Strings - Part 3 - Prepositions

From SCI Wiki
Jump to: navigation, search

By Gumby

Prepositions (and Unclassified words)

Example of the preposition 'in', which is classified in the vocab as a preposition (in the template game):

    // Responds to user input of: 'put key in lock'
       Print("You put the key in the lock")

Example of the preposition 'with', but has an unclassified word class in the template game:

    // Responds to user input of: 'open door with key'
       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.