trouble using replicate for number of lives
ammarahkhalid
Member Posts: 1
I am using windows version of GS. I want to know how to make replicate result in the value what i have described in Attribute as everytime i try, its only appearing in how many times and the default value that is 5 is fixed its not changing.
Answers
Then, in the replicate behavior - set the amount to game.Lives - the new attribute you just created.
That should do it.
Then of course, when you lose a life, it will decrees the amount.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
All it is showing is Replicate TIMES (and in default Value it is showing 5, and even if I try to make it 4 or less or more than 5 it is not showing any effect and still show 5 lives in Game?
Also if a life is lost in game it is showing no effects and continue to show 5 Lives!
The replicate behavior duplicates the appearance of the actor on the scene the number of times specified. It has no effect on the actual value of the attribute.
Also, I deleted your duplicate comment. You can always edit a comment if you need to make changes to it.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User