What are function parameters and why do we use them?, Parameters are data passed to a function when it is called, allowing the same function to work with different values without rewriting code, How does the `range()` function work and how many arguments can it take?, One: `range(N)` - from 0 to N-1. Two: `range(start, stop)`. Three: `range(start, stop, step)`, What command do we use to add effects for a player, for example speed?, `mobs.apply_effect(SPEED, mobs.target(NEAREST_PLAYER), time_in_seconds)`, What does `blocks.on_block_broken(block, function)` do?, It listens for a block of the given type being broken and calls the given function when that happens.

EN Python/Roblox #6

ustvaril/-a

Lestvica vodilnih

Vizualni slog

Možnosti

Izboljšana umetna inteligenca: Ta dejavnost vsebuje vsebine, ki jih ustvarja umetna inteligenca. Izvedi več.

Preklopi predlogo

)
Obnovi samodejno shranjeno: ?