9 public string Name {
get;
set; }
11 [
Serialize(-1,
IsPropertySaveable.Yes, description:
"How many times can this GoTo action be repeated? Can be used to make some parts of an event repeat a limited number of times. If negative or zero, there's no limit.")]
14 [
Serialize(
true,
IsPropertySaveable.Yes, description:
"By default, jumping to another part in the event closes the active conversation prompt. Use this if if you want to keep it open instead.")]
33 string msg = $
"[-] Go to label \"{Name}\"";
36 msg += $
" ({counter}/{MaxTimes})";
41 public override void Reset() { }
Makes the event jump to a Label somewhere else in the event.
override bool IsFinished(ref string goTo)
Has the action finished.
override string ToDebugString()
Rich test to display in debugdraw
GoTo(ScriptedEvent parentEvent, ContentXElement element)