Christopher
e3660dc6bc
Use quotes for identifiers containing spaces instead of commas. Hide parameter can be in any position in params.
8 years ago
Christopher
38ee8605a1
Hide characters in conversation e.g. john hide:
8 years ago
Christopher
921891f255
Fixed stage.Show() not fading in a previously faded out character if portrait hasn't changed.
8 years ago
Christopher
c136b5590e
Made it easier to resize the default SayDialog
8 years ago
Christopher
199f74ecba
Fixed NullReferenceException with nameText in SayDialog #517
8 years ago
Christopher
c2079d2613
Set inline SayDialog portraits if no Stage present
8 years ago
Christopher
858cbad3f3
Conversation command support string substitution
8 years ago
Christopher
ece7d26f52
Ensure the character cache is populated before accessing it
8 years ago
Christopher
edaff879b1
Fixes for single line conversation and trimming whitespace on story text.
8 years ago
Christopher
f79c04f8e0
Added Conversation command
8 years ago
Christopher
964a1e504a
Fixed incorrect portraits and positioning across multiple conversation() commands
8 years ago
Christopher
c95dd146fc
Fix portraits not moving into new position
8 years ago
Christopher
2c07403cad
Use SayDialog specified in Character.SetSayDialog property if present
8 years ago
Christopher
b77fb1dd58
Renamed Conversation class to ConversationManager. Documented conversation() function in Lua.
8 years ago
Christopher
0075f24ced
Renamed and Moved ConversationManager class
8 years ago
Christopher
057772cf28
Fix if no EventSystem present in scene
8 years ago
Christopher
3234aecee8
Removed cached portraits
8 years ago
Christopher
19cbab7112
Changed PortraitOptions and PortraitState to use class instead of struct. MoonSharp doesn't work well with structs.
8 years ago
lealeelu
4992ea9925
Cache stage and portrait info and add ability to rearrange params
8 years ago
lealeelu
7420ffeefb
Create Conversation Function in LuaUtils
8 years ago
Christopher
9314253257
Duplicated default dialog image to avoid breaking dialogs in existing scenes.
8 years ago
Christopher
1b1cfa7c4f
Default dialog box now fits in a 5:4 ratio display. Also changed the dialog image to be sliced, so can be resized to any width / height required.
8 years ago
Christopher
fc2713ddcd
Fixed dialog input causing an exception if no Event System is present.
8 years ago
Christopher
5382f84f2e
Fix for compile error for folks upgrading using the Fungus 3 unitypackage
8 years ago
Christopher
deeb5259e6
Fixed Fungus Lua setcharacter bug #503
9 years ago
Gerardo Marset
6337bf19fd
Cache the current StandaloneInputModule.
9 years ago
Gerardo Marset
8018abcf15
Remove stray unneeded option.
9 years ago
Gerardo Marset
f67cbf0705
Better follow the project's coding standards.
9 years ago
Gerardo Marset
c1d1dc901e
Allow for options to be picked without clicking.
9 years ago
Gerardo Marset
4b3a4bf32b
Simplify DialogInput to use Unity's InputManager.
9 years ago
Christopher
67adbab9a0
Added open source license header to all source files
9 years ago
Christopher
a0b11e074b
Merging PR #490
9 years ago
Christopher
624f66f516
Fixed Set Anim Integer/Float/Bool lose property settings #492
9 years ago
Christopher
0eac532b35
String substitution uses StringBuilder to avoid string allocations
9 years ago
Christopher
54d80c5039
Fixed character Name appears in Say Dialog when used from Lua #484
9 years ago
Christopher
6a7878552e
Fixed Child Object gets deleted when having a flowchart on parent and child. #475
9 years ago
Pavel Kvas
977c2472a0
extract ControlWithDisplay generic base class
9 years ago
Pavel Kvas
20cd537eb6
remove redundant if checks for stage field
9 years ago
Chris Gregan
8e5a7dd622
Make sure MenuDialog game object is active
9 years ago
Chris Gregan
9c5b597941
Portrait image is hidden by default
9 years ago
chrisgregan
a0e3094dd2
Fixed coroutine issue in Say command
9 years ago
chrisgregan
3f9162eb13
Fix API change for OnLevelWasLoaded() event
9 years ago
chrisgregan
4fddc9e420
Replaced serialisation callback due to threading warning
9 years ago
chrisgregan
734ca8c870
Extensible string substitution system
...
String substitution now works for Fungus variables, localisation keys,
Lua global variables and string variable keys. The system can be easily
extended by implementing the ISubstitutionHandler interface.
9 years ago
chrisgregan
8fbc1b08d6
Rename non-coroutine Execute to StartExecute to be more descriptive
...
Lua scripts should use the coroutine Execute method directly.
9 years ago
chrisgregan
0797b54d32
Indented character object field on Say command
...
Note: This new property is useful if you want to define your characters
as prefabs and just link to the prefab instead of an instance in the
scene.
9 years ago
Timothy Ng
1ac8669a43
Implemented suggestions
9 years ago
Timothy Ng
74c14f5985
replaced say dropdown menu with object picker
9 years ago
chrisgregan
c33bb139b1
Changes to support Fungus Script execution
9 years ago
chrisgregan
d1b76a096c
Fixed hide portrait before show portrait breaks portrait system #384
9 years ago