In the Conditionals tutorial in the step ‘CREATING A TIMER’ the reader is asked the following:
Within the Init() function, create a variable to store the time remaining as a number. Call this variable remainingTime . Set remainingTime 5, which will be 3 seconds:
In the script example below the instruction this variable is not present, instead there is one called timeRemaining:
> function TimedExplosive:Init()
> self.timeRemaining = 5
> end
A minor inconsistency, but rather confusing if one’s assimilating to Crayta’s scripting platform.
I’ve attached a Screenshot for the lucky one to fix this. Thanks!
Found at https://tutorials.crayta.com/basic-coding-4-conditionals/