Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Museum Heist
Ectocomp 2009
Skybreak v. 1.4
Marika the Offering
The Fortress of Fear
The Cellar
Jacaranda Jim
Pete's Punkin Junkinator
Bug Hunt On Menelaus
Revenge of the Space Pirates
 
Latest Forum Posts
Many alternative descriptions per Location or Object
Combi-Lib - an improved standard library
Bug with keys
Happy birthday ralphmerridew
"Player" vs. [The Player Character]
Dominion of Darkness - interactive story of the Dark Lord/Lady
ADRIFT Runner on US keyboard
Re-close a door without the player doing it
It's been too long!
Conversations
 
Latest Reviews
DRAM 321 Final
Goldilocks is a FOX!
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt

Make a donation

Cursor  Library Supplement: Giving commands to NPCs in conversations

Issue Type: Status: Priority: Date Submitted: Votes:
Enhancement Open Medium Fri 27th Jul 2012 4 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.24 Fri 27th Jul 2012 Log In
 
ElliotMFri 27th Jul 2012 06:33
http://forum.adrift.co/viewtopic.php?f=14&t=8085

The general command option for conversation topics is pretty neat, but in most games which allow the player to give commands to an NPC, the syntax is typically: Character Name, Text. For example, "Robot, take the crate," "Bob, follow me," "Samantha, find Johnny."

Using ask/tell/say instead feels a bit awkward for this because you can end up with things like "Ask robot about take the crate," "tell follow me to bob," and "say find Johnny to Samantha."

I find the character name, text syntax more natural for giving commands in conversation, and I managed to duplicate that syntax by adding a new general task to my library patterned after the Say Something general task.

New Task: Give Command/Instructions
Command Field Syntax: %character%{,} %text%
Restrictions: The player must have seen referenced character AND The player must be in the same location as referenced character.
Action: Say %text% to referenced character.
Task is repeatable.

And that's all you need. Authors would still need to create conversation topics of type general command, but for player convenience I think this addition to the library would be well worth it.
 
ElliotMFri 27th Jul 2012 05:50
Actually, it might be easier to just add the "Name, Text" command syntax as an alternative to the Say Something to Character general task, because they're otherwise exactly the same I think.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster