FrankenGraphics
New member
Health works as expected. But if i deploy let's say myMoney or any of the UserVar_n:s, the following results are shown on screen:
Despite setting the init value to let's say 3, upon game start the value is 0.
If i move to another screen, this value is updated to 3.
If the player character gets hurt, nothing immediately shows, but if i go to another screen, that 3 is now updated to a 1 - Consistently.
Getting hurt shouldn't affect these values at all.
They shouldn't get updated at new screens only.
I haven't written any custom code to tie them up yet.
What is causing this behaviour? I'm using the adventure module in 4.1
where i am at the moment:
i'm going to try to have a game start flag let the values increase to max in a staggered fashion over time, and one at a time up to the max to see if i can force the updates that way.
i'm still not sure why being hurt sets all vars to 1 though.
Despite setting the init value to let's say 3, upon game start the value is 0.
If i move to another screen, this value is updated to 3.
If the player character gets hurt, nothing immediately shows, but if i go to another screen, that 3 is now updated to a 1 - Consistently.
Getting hurt shouldn't affect these values at all.
They shouldn't get updated at new screens only.
I haven't written any custom code to tie them up yet.
What is causing this behaviour? I'm using the adventure module in 4.1
where i am at the moment:
i'm going to try to have a game start flag let the values increase to max in a staggered fashion over time, and one at a time up to the max to see if i can force the updates that way.
i'm still not sure why being hurt sets all vars to 1 though.