| 
  • 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 11:58:17 am
 
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.       
CreateMeeting/Prop/Stage/Alarm Verb A Reaction Cycle begins for a Plan based on this Verb.       
AssumeRoleIf Role      
AdjustDebt_Grace/Familiarity Role      
AdjustPTrait Role      
AdjustMood Role      
FillRoleBox Role      
Acceptable Wordsocket of Option's Verb      
Desirable Wordsocket of Option's Verb      
Inclination An Option      

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Next: BNumbers and UNumbers

Previous: Introduction to Scripting

Comments (0)

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