Grendal-777
Veteran
In my Legend of the Red Axe mod currently my redaxe will only spawn once per game. I am looking for a way to make the scene prop check upon use if the redaxe exists in the scene/world and if not to spawn it.
Using try_for_agents or try_for_range I can run through the player agents and determine if it is equiped using (agent_has_item_equipped, ":agent", ":item"), however, if the player wanted they could simply drop the axe by the spawn and respawn another for his pal.
Does anyone know of a way to determine if the agent (itm_name) currently exists in the scene/world?
Using try_for_agents or try_for_range I can run through the player agents and determine if it is equiped using (agent_has_item_equipped, ":agent", ":item"), however, if the player wanted they could simply drop the axe by the spawn and respawn another for his pal.
Does anyone know of a way to determine if the agent (itm_name) currently exists in the scene/world?