Sir Henry Curtis
Regular

My mod is currently using Highlander's hunting mod. You can obtain the full source from Age of Machinery's source.
The deer are spawned on the map as horses and are made to flee from the player with (agent_set_scripted_destination). Unfortuantly the deer cannot completely elude the player because of the map boundaries. Even if the player runs out of ammo, he can just start the hunt again until all the deer are gone. I'm trying to make it so the deer flee when they reach the edge of the map and are counted as "dead" (except when calculating the meat obtained), so that the player can't always get all of them eventually.
I tried moving the buggers underground with (agent_set_position), but it doesn't work. I tried setting their health to zero, but that doesn't seem to kill them. It's just as well, I suppose, as it would be rather strange to see a deer approach the edge of the map then suddenly fall dead.
Any ideas as to how I can remove these deer (that are, in fact, horses) from the map?
The deer are spawned on the map as horses and are made to flee from the player with (agent_set_scripted_destination). Unfortuantly the deer cannot completely elude the player because of the map boundaries. Even if the player runs out of ammo, he can just start the hunt again until all the deer are gone. I'm trying to make it so the deer flee when they reach the edge of the map and are counted as "dead" (except when calculating the meat obtained), so that the player can't always get all of them eventually.
I tried moving the buggers underground with (agent_set_position), but it doesn't work. I tried setting their health to zero, but that doesn't seem to kill them. It's just as well, I suppose, as it would be rather strange to see a deer approach the edge of the map then suddenly fall dead.
Any ideas as to how I can remove these deer (that are, in fact, horses) from the map?




