This is such a simple task that I CAN'T understand why it isn't working! It's simple enough, the script is supposed to petrify its owner, and I've played with many ways of changing the script to make it work, including moving it back and forth between the OnSpawn and OnHeartBeat script slots! It compiles alright, but it won't work when I go to test it! >.< Anyways here's the last attempt I had at making it work:
#include "x0_i0_petrify"
void main()
{
object oTarget = OBJECT_SELF;
Petrify(oTarget);
}
All it's suppose to do is petrify the owner of the script, yet it won't work...goes in either onspawn or onheartbeat slots...creature of course...
-Elessar