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
Pete's Punkin Junkinator
Skybreak v. 1.4
Ectocomp 2009
The Sisters
Synonymizer
The Makeshift Magician
Return to Camelot
Escape to New York v1.1
Notebook Demo
Hold Breath
 
Latest Forum Posts
Belated happy birthday saabie!
Object groups?
Happy birthday Denk & Andrew
InsideADRIFT Back Issues
EctoComp 2025 GAMES RELEASED, ONE ADRIFT GAME!
Hi everyone
Happy birthday, David
Good advice from an IF Comp Winner
Hiding direction pointers?
Walk-throughs
 
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