re-implement i-frames (closes #103)

This commit is contained in:
Haze Weathers 2023-05-23 12:38:59 -04:00
parent 5413d8aa5f
commit b1a736745c
3 changed files with 12 additions and 2 deletions

View file

@ -1128,9 +1128,16 @@ script = ExtResource( 11 )
[node name="Respawn" type="Node" parent="StateChart/Root/Health"]
script = ExtResource( 11 )
[node name="If Iframes" type="Node" parent="StateChart/Root/Health/Respawn"]
script = ExtResource( 10 )
to = NodePath("../../Vulnerable")
delay = 0.5
guard_expression = "use_iframes"
[node name="On Timeout" type="Node" parent="StateChart/Root/Health/Respawn"]
script = ExtResource( 10 )
to = NodePath("../../Vulnerable")
guard_expression = "!use_iframes"
[node name="Dead" type="Node" parent="StateChart/Root/Health"]
script = ExtResource( 11 )