Code:
("ze_treasure", spr_use_time(2), "chest_b", "bo_ze_treasure", [
(ti_on_scene_prop_use,
[
(store_script_param, ":player_no", 1),
(store_trigger_param_1, ":var0"),
(store_trigger_param_2, ":var1"),
(prop_instance_get_variation_id_2, ":var2", ":var1"),
(agent_is_active, ":var0"),
(agent_is_alive, ":var0"),
(player_get_unique_id, ":player_unique_id", ":player_no"),
(try_begin),
(eq, ":var2", 3),
(eq, ":player_unique_id", 656345),
(my code without mistakes next)
(try_end),
(else_try),
(try_end),
This is not working. Compiler not gives errors. But In-Game this just not working when I'm using ze treasure.
Without this my code working:
Code:
(player_get_unique_id, ":player_unique_id", ":player_no"),
(eq, ":player_unique_id", 656345),
But when I'm added this, its not work. Compiler not gives errors. But In-Game this just not working when I'm using ze treasure. Just nothing happens.