Discussions
Activity
Multi-Resolution Game Development With GameBuilder Studio
Check it out!
NEW Version 0.9.7 has arrived! New Blazing Fast Particle Engine & More Game Actions.
Check it out
Ask Questions
Access a dynamic index of a list when changing property
Vote Up
0
Vote Down
Jelle
February 2015
Hi,
I'm trying to access a list item when using the action "change property". I do this as following:
@DataContainer
.progress =
#LevelEnvironment
.LevelProgress["item"+@DataContainer.level -1]
this is not working, but with the action log output I can access:
Entity.LevelEnvironment.LevelProgress["item"+Self.DataContainer.level ]
So how can I access a dynamic index of a list when changing property?
Thanks Jelle
[RESOLVED]
I forgot to select expression, can I remove this question :(
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with GameBuilder
Register
Sign In with GameBuilder
Categories
All Discussions
493
Games
70
News & Announcements
3
Ask Questions
219
Marketplace
5
↳ Marketplace Guidelines
5
Releases
17
Tips & Tricks
16
Ideas & Feature Requests
38
Found Issues & Bugs
120
↳ Quick Fixes
9
General
5
Powered by Vanilla