This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:tutorials:lifetime [2019/05/29 06:25 (5 years ago)] – [Track Lifetime] sausage | en:tutorials:objects:lifetime [2020/08/31 18:18 (4 years ago)] (current) – ↷ Links adapted because of a move operation 66.249.64.26 | ||
---|---|---|---|
Line 5: | Line 5: | ||
But you can also specify one or more literals to create lifetime situations that are a little richer. | But you can also specify one or more literals to create lifetime situations that are a little richer. | ||
- | Before getting into that, let's [[en: | + | Before getting into that, let's [[en: |
===== Numeric Lifetime ===== | ===== Numeric Lifetime ===== | ||
Line 73: | Line 73: | ||
Run that and as soon as the appearance sound is finished, the object' | Run that and as soon as the appearance sound is finished, the object' | ||
+ | |||
+ | |||
+ | ===== Anim Lifetime ===== | ||
+ | |||
+ | For an object, using the '' | ||
+ | |||
+ | <code ini> | ||
+ | [Object] | ||
+ | Graphic | ||
+ | Texture | ||
+ | SoundList | ||
+ | Sound = appear.ogg | ||
+ | Pivot = center | ||
+ | AngularVelocity = 18 | ||
+ | FXList | ||
+ | LifeTime | ||
+ | </ | ||
+ | |||
+ | Check out the [[en: | ||
===== Child Lifetime ===== | ===== Child Lifetime ===== | ||
Line 113: | Line 132: | ||
- | ===== Track Lifetime | + | ===== Track Lifetime ===== |
Using this literal, the object' | Using this literal, the object' | ||
Line 132: | Line 151: | ||
===== Multiple Lifetime literals ===== | ===== Multiple Lifetime literals ===== | ||
- | You can combine two or more literals, or a value if you wish. If you do this, the object' | + | You can combine two or more literals. If you do this, the object' |
<code ini> | <code ini> | ||
Line 143: | Line 162: | ||
AngularVelocity = 18 | AngularVelocity = 18 | ||
FXList | FXList | ||
- | LifeTime | + | LifeTime |
</ | </ | ||
- | In this case, the fx will complete it's single cycle, and then the object will continue to live for a total of 15 seconds. Once both conditions are complete, it's curtains for the object. | + | In this case, the sound will play and the fx will complete it's single cycle. Once both conditions are complete, it's curtains for the object. |
==== Conclusion ==== | ==== Conclusion ==== | ||
- | There' | + | There' |
+ | ===== See also ===== | ||
+ | - [[en: | ||
+ | - [[en: |