Three remarks on your code, JazzDude:

1. Setting invisible and passable in a loop is senseless. Better place that before the loop. Increases performance... ;\)
2. Setting up the temp vector and then waiting 2 frames and finally using it is a source for hard to find errors. If you set up temp to vertain values you should use them immediately. Otherwise other functions may overwirte you temp vector with arbitrary data.
3. Be sure to wait at least one frame in your act_trapper and act_indian action, before reading out spawned_entity and entity_type_id.


Always learn from history, to be sure you make the same mistakes again...