setScriptList()

Syntax

sprite(whichSprite).setScriptList(scriptList)
Description

This command sets the scriptList of the given sprite. The scriptList
indicates which scripts are attached to the sprite and what the settings of
each script property are. By setting this list, you can change which
behaviors are attached to a sprite or change the behavior properties.

The list takes the form:

[ [ (whichBehaviorMember), " [ #property1: value, #property2: value, . . . ]
",
[(whichBehaviorMember), " [ #property1: value, #property2: value, . . . ]
" ] ]
This command cannot be used during a score recording session. Use
setScriptList() for sprites added during score recording after the score
recording session has ended.

See also

scriptList, value(), string()

> I'm a becomer and my English is not well. I have got a
> question that I want to use the statement to set a behavior
> into a sprite or much more. I tried to use the "sendsprite"
> and "sendallsprites" statement but unsuccessfull. Somebody
> help me???


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to