Click to go to the home page.

See Also
"Dynamism" script
"Dynamism" destructors
"Script Writer" movie script

 

Site Nav

css drop down menu by Css3Menu.com

'Dynamism' Dynamic Channel Manager

The "Dynamism" Dynamic Channel Manager

The Dynamic Channel Manager is coded in the 'Dynamism' script. The below handlers return information about its current state. Read the 'Dynamism' documentation for a discussion of the Dynamic Channel Manager.

The main thing you need to know initially about the Dynamic Channel Manager is you need to edit a line of it. You may want to call some of the below handlers to get a feel for how it is allocating dynamic channels.

Click to go to top of section. wfsGetNumberOfDynamicChannelsInUse()

Returns the number of dynamic channels currently in use.

theResult = wfsGetNumberOfDynamicChannelsInUse()

Click to go to top of section. wfsGetDynamicChannelsInUse()

Returns a sorted list of the spritenums of the channels currently in use as dynamic channels, ie, the channels in the list have dynamic sprites in them. Changing this list does not change anything because it is a duplicate of the gWFSUsedChannels list.

theResult = wfsGetDynamicChannelsInUse()

Click to go to top of section. wfsGetNumberOfDynamicAvailableChannels()

Returns the number of channels currently available for the creation of dynamic sprites.

theResult = wfsGetNumberOfDynamicAvailableChannels()

Click to go to top of section. wfsGetDynamicAvailableChannels()

Returns a linear list of the currently unused dynamic channels. Changing this list changes nothing because it is a duplicate of gWFSUnusedChannels.

theResult = wfsGetDynamicAvailableChannels()

Click to go to top of section. wfsGetLastStaticSpriteChannel()

Returns gWFSLastStaticSpriteChannel, a WFS global. This is a constant. You have to set this yourself by editing a line in the intializeDynamism handler in the Dynamism script. See instructions.

 

Click to go to the home page'Dynamism' Dynamic Channel Manager