i’m building a game usind only the logic bricks of UPBGE and some expression actuator to reduce numbers of bricks in layers.
___ it looks like when i put more expression controller in a game, for some unknown reasons they don’t works anymore, i tried different way to write the expression:
sensor (continue message named life=0) AND actuator -> expression (frame=1070) -> actuator (action)
i also tried to write ‘frame=1070‘ but the BGE/UPBGE ignores the frame number and waits for the end of the action (sensor)
if i write frame=1070 he ignores the message sensor.
the only solution i found that works was to change the message sensor name to life_0 and write in the expression box:
frame = 1070 AND life_0 = True
but why it doesn’t work if i don’t add the sensor in the expression?
could someone tell me in which cases expression doesn’t works (talking more about combination of bricks linked to them and also using property not linked)
and in other cases when i link an actuator sensor to an expression controller with a long line like: frame=5 OR frame=8 OR … it doesn’t send any trigger
i use this to chose when take out life because i can’t do it so easly with the property sensor.