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

  • Whenever you search in PBworks, Dokkio Sidebar (from the makers of PBworks) will run the same search in your Drive, Dropbox, OneDrive, Gmail, and Slack. Now you can find what you're looking for wherever it lives. Try Dokkio Sidebar for free.

View
 

Script Types

This version was saved 13 years, 5 months ago View current version     Page history
Saved by Bill Maya
on May 24, 2009 at 12:11:44 pm
 
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.    
AdjustMood Role The ReactingActor assumes this Role.     
FillRoleBox Role The ReactingActor assumes this Role.     
Acceptable Wordsocket of Option's Verb The ReactingActor is creating a tentative Plan with this Option.    
Desirable Wordsocket of Option's Verb A computer-controlled ReactingActor is creating a tentative Plan with this Option.    
Inclination An Option A computer-controlled ReactingActor is creating a tentative Plan with this Option.    

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Next: BNumbers and UNumbers

 

 

 

 

 

Previous: Introduction to Scripting

Comments (0)

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