| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Script Types

Page history last edited by Bill Maya 14 years, 11 months ago
The following table lists the various types of Scripts used in Storytronics. For each Script type, it details what storyworld entity the Script is attached to, when the Script is executed, what the Script determines and what arguments it takes.

 

Script Name Defined For Executed When Determines What Takes What Arguements
AbortIf Verb An Actor is desciding whether to perform a Plan based on this Verb during the Action Cycle. Whether this Plan should be removed from the Planlist without it being performed. A boolean answering the question "Should this Plan be aborted?"
SetAnticipatedValue Verb An AnticipatedValueOperator with this Verb as its HypotheticalVerb is resolved. The anticipated reaction of a given Actor to a Plan based on this Verb. A BNumber expressing the anticipated reaction of the given Actor.

SetStoryIsOver

Verb A Reaction Cycle begins for a Plan based on this Verb. The value of the StoryIsOver Global Box A Boolean that will be the new value of StoryIsOver.
FillGlobalBox Verb A Reaction Cycle begins for a Plan based on this Verb. The value of the Box. An Actor/Prop/Stage/Verb/Event/BNumber (depending on the Box's data type) that will be the Box's new value.
FillVerbBox Verb A Reaction Cycle begins for a Plan based on this Verb. The value of the Box for the duration of this Reaction Cycle.  An Actor/Prop/Stage/Verb/Event/BNumber (depending on the Box's data type) that will be the Box's new value. 
SetActor/Prop/Stage Verb A Reaction Cycle begins for a Plan based on this Verb.  The value of an Actor/Prop/Stage trait.

1. An Actor/Prop/Stage whose Trait will be set.

2. The new value to be set for the Trait in question. Most often a BNumber but, depending on the Trait, might be a Boolean, Actor, or Stage.

SetKinship Verb A Reaction Cycle begins for a Plan based on this Verb.   The value of two Actors' Stranger_Kin for each other.

1. The first Actor whose Stranger_Kin will be set.

2. The second Actor whose Stranger_Kin will be set.

3. A BNumber that will be the new Stranger_Kin between these two Actors.

SetActorPerceived/Confidence Traits Verb A Reaction Cycle begins for a Plan based on this Verb.    The value of one Actor's P/C Trait for another.

1. The Actor whose P/C Trait will be set.

2. The Actor towards whom the P/C Trait will be set.

3. A BNumber to which the P/C Trait will be set.

CreateTimeAlarm Verb A Reaction Cycle begins for a Plan based on this Verb.    Creates a TimeAlarm Plan for Fate, with a Specified Actor as DirObject.

1. The Actor who will be the TimeAlarm's DirObject.

2. The number of the Storyminute when the TimeAlarm triggers.

CreateMeeting/Prop/Stage/Alarm Verb A Reaction Cycle begins for a Plan based on this Verb.    Creates an Alarm that will trigger when the specified Actor meets another specified Actor, Stage, or Prop.

1. The Actor for whom the Alarm will trigger. He will be the Alarm Plan's DirObject.

2. The Actor, Prop, or Stage that will trigger the Alarm when meeting the Actor specified above. Will be the Alarm Plan's Actor1, Prop1, or Stage1, respectively.

AssumeRoleIf Role The ReactingActor is considering whether to assume this Role. Whether the ReactingActor should assume this Role. A Boolean answering the questions "Should this Actor assume this Role?"
AdjustDebt_Grace/Familiarity Role The ReactingActor assumes this Role. What adustment should be made to the Debt_Grae or Familiarity of the two specified Actors towards each other.

1. The first affected Actor.

2. The second affected Actor.

3. A BNumber representing the size of the adjustment that should be made to the Debt_Grace or Familiarity between the two specified Actors.

AdjustPTrait Role The ReactingActor assumes this Role. What adjustment should be made to the ReactingActor's PTrait towards a specified Actor.

1. The Actor towards whom this Trait should be adjusted.

2. A BNumber representing the size of the adjustment that should be made to this Trait.

AdjustMood Role The ReactingActor assumes this Role.  How this Actor's Mood is affected by assuming this Role. A BNumber representing the size of the adjustment that should be made to the affected Mood.
FillRoleBox Role The ReactingActor assumes this Role.  The value of the Box for the duration of this ReactingActor's turn. An Actor/Prop/Stage/Verb/Event/BNumber, depending on the Box's data type, that will be the Box's new value.
Acceptable Wordsocket of Option's Verb The ReactingActor is creating a tentative Plan with this Option. Whether this Option allows a given Word to be assigned to this WordSocket. A Boolean answering the question "Is this Word allowed to be assigne to this WordSocket?"
Desirable Wordsocket of Option's Verb A computer-controlled ReactingActor is creating a tentative Plan with this Option. How desirous this Actor is to assign a given Word to this WordSocket. A BNumber representing this Actor's relative desire to assign this Word to this WordSocket.
Inclination An Option A computer-controlled ReactingActor is creating a tentative Plan with this Option. How inclined this Actor is to select this Option. A BNumber representing this Actor's relative inclination to select this Option.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Next: BNumbers and UNumbers

Previous: Introduction to Scripting

Comments (0)

You don't have permission to comment on this page.