Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

What does this script define?

Recommended Posts

Could you tell me what this script is saying so I can understand it:

//Regular snow

What does the [0] define?

Share this post

Link to post

The [#] notation is often used to access a specific item in an array or other form of collection. So [0] would indicate the first item in an array.

Share this post

Link to post

Those are array indices. The '[0]' part is specifically used to access the first element, with each being set to the number after the '=' sign. After looking at the j5weatherfx.zip that you linked to in a previous thread, the included PDF file explains how to set them up.

See here for info on arrays in ACS.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now