Arrays and world event

Zavnice

New member
Joined
Aug 18, 2023
Messages
13
Okay so. I dont know that mineland creative+ has updated so far. Theres a New things. World event and arrays. Can someone explain to me how these two things work?
 

Parodies

Member
Joined
Aug 26, 2023
Messages
27
Okay so. I dont know that mineland creative+ has updated so far. Theres a New things. World event and arrays. Can someone explain to me how these two things work?
mate those existed for way before this post...
_ _
Also, can you speak semi-understandable english as I, and anybody else watching can not understand a word you just typed
 

Ezolile

Member
Joined
May 19, 2023
Messages
40
World event serves to send data (variables, arrays,...) from one world to another.
Array is collection of elements of same or different type (depending on your needs) which you can sort, expand, extract from it, etc. For example you want to replay player movement you could append (add element to end of array) players current location to array each time player moves (or with loop). Then you will call recursive function or loop which will iterate trough each element of array (extract data from index position of an array in succession order 0, 1, 2,...) and teleport player to that location.
 

NeRdGM

New member
Joined
Sep 3, 2023
Messages
15
World event serves to send data (variables, arrays,...) from one world to another.
Array is collection of elements of same or different type (depending on your needs) which you can sort, expand, extract from it, etc. For example you want to replay player movement you could append (add element to end of array) players current location to array each time player moves (or with loop). Then you will call recursive function or loop which will iterate trough each element of array (extract data from index position of an array in succession order 0, 1, 2,...) and teleport player to that location.
 

Attachments

  • download.nerd.jpg
    download.nerd.jpg
    5.6 KB · Views: 0
Top