Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###This goes in scene props (replace):####
- ("Village_fire_big",0,"invisible","0",
- [
- (ti_on_scene_prop_init,
- [
- (particle_system_add_new, "psys_village_fire_big"),
- (set_position_delta,0,0,100),
- (particle_system_add_new, "psys_village_fire_smoke_big"),
- ]),
- ]),
- ####This goes in da temps###
- wall_of_death = (
- 1, 0, 0,[],
- [
- (scene_prop_get_num_instances, ":num_instances_of_scene_prop", "spr_Village_fire_big"),
- (try_for_agents,":agent"),
- (agent_is_active,":agent"),
- (agent_is_alive,":agent"),
- (assign,":kill",0),
- (try_for_range, ":cur_instance", 0, ":num_instances_of_scene_prop"),
- (scene_prop_get_instance, ":instance_id", "spr_", ":cur_instance"),
- (prop_instance_get_variation_id, ":var1", ":instance_id"),
- (eq,":var1",0),
- (scene_prop_has_agent_on_it, ":instance_id", ":agent"),
- (assign,":kill",1),
- (try_end),
- (eq,":kill",1),
- (agent_is_alive,":agent"),
- (remove_agent,":agent"),
- (try_end),
- ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement