|
Library Supplement: Giving commands to NPCs in conversations
Issue Type: |
Status: |
Priority: |
Date Submitted: |
Votes: |
Enhancement |
Open |
Medium |
Fri 27th Jul 2012 |
4 votes
|
|
Found in version: |
Last Updated: |
Completed in version: |
Date Completed: |
Track Changes: |
5.0.24 |
Fri 27th Jul 2012 |
|
|
Log In |
|
ElliotM | | Fri 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. |
|
ElliotM | | Fri 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. |
|