Advertisement
Guest User

Untitled

a guest
Sep 21st, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. ###This goes in scene props (replace):####
  2.  
  3. ("Village_fire_big",0,"invisible","0",
  4. [
  5. (ti_on_scene_prop_init,
  6. [
  7. (particle_system_add_new, "psys_village_fire_big"),
  8. (set_position_delta,0,0,100),
  9. (particle_system_add_new, "psys_village_fire_smoke_big"),
  10. ]),
  11. ]),
  12.  
  13. ####This goes in da temps###
  14.  
  15. wall_of_death = (
  16. 1, 0, 0,[],
  17. [
  18.  
  19. (scene_prop_get_num_instances, ":num_instances_of_scene_prop", "spr_Village_fire_big"),
  20. (try_for_agents,":agent"),
  21. (agent_is_active,":agent"),
  22. (agent_is_alive,":agent"),
  23. (assign,":kill",0),
  24. (try_for_range, ":cur_instance", 0, ":num_instances_of_scene_prop"),
  25. (scene_prop_get_instance, ":instance_id", "spr_", ":cur_instance"),
  26. (prop_instance_get_variation_id, ":var1", ":instance_id"),
  27. (eq,":var1",0),
  28. (scene_prop_has_agent_on_it, ":instance_id", ":agent"),
  29. (assign,":kill",1),
  30. (try_end),
  31. (eq,":kill",1),
  32. (agent_is_alive,":agent"),
  33. (remove_agent,":agent"),
  34. (try_end),
  35. ])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement