jerrus147: Never mind. GetFirstPC() does work in a heartbeat event. Apparently, there was something wrong somewhere else in my script.
On heartbeat script are quite the CPU devourer, although by now pc are so powerful in comparison to when this game was released that you may not even notice the strain, it's still not a particularly efficient methods to do scripts
On heartbeat mean checking constantly, and it should be used only when no other method is sufficient, like making a special aura of some kind, or make the engine create a special area effect where checking every "turn" isn't adequate for game play reason, like applying a penalty to whoever enter a certain zone
Maybe if you are more specific the community can help, or give suggestions