Quote:
Originally Posted by GameKid
Well, first, you add a 3D Text that says 300. Then, make a number variable that is 300. Finally, add a method with the following:
If [Your variable here] > 0
[Your 3D Text here] set text [Your countdown over message here]
else
Wait 1 second
Decrement [Your variable here] by one
3D Text set text [(Your variable here) as a string]
-------
You can find [What] as a string and [Number] > [Number] under world's functions.
You can call the 3D text to change text by dragging the Text node from 3D Text's properties.
If that's too complicated, I can make it for you...
|
How do you put the underlined part in code?
This is for a final program im doing, but instead of time, im thinking of a base health counter, where if an enemy reaches the base, the amount goes down. ive seen it done, i just dont know where the 'set text' code is...