!!!! Where can I place unlock actor? !!!!
Hey there everyone
I have a game with 15 levels. now i want that when level 1 is completed that it unlocks level 2. ( Attribute when it overlaps with actor change attribute level to +1 )
But where must i place the unlock actor that i adds +1 to level attribute only at the first time?
My problem is that when i make to times level 1 it ulocks level 3 too.
Hope you can understand
Cheers
I have a game with 15 levels. now i want that when level 1 is completed that it unlocks level 2. ( Attribute when it overlaps with actor change attribute level to +1 )
But where must i place the unlock actor that i adds +1 to level attribute only at the first time?
My problem is that when i make to times level 1 it ulocks level 3 too.
Hope you can understand
Cheers
Comments
Change attribute level to level+1
I've introduce anoter attribute, bool, that i set to true if i complete my level and before incrementing level i check if complete is true.
Can you explain it better with more details?
Example: game attribute levelon
On each scene, somewhere:
Change attribute game.levelon to (put number of level here)
Then in your scene complete actor add
If game.unlock < game.levelon
Change attribute game.level on to game.level on+1
Something like that. There's many ways to do it.
Now I understand