viewtopic.php?t=28581
Code: Select all
void main() {
object oTriggerer;
oTriggerer = GetEnteringObject();
if(GetIsObjectValid(oTriggerer)) {
ExecuteScript("x0_s0_earthquake", oTriggerer);
}
}
I don't have access at the moment to the "x0_so_earthquake" script, but I don't remember there being anything specific to there being an Earthquake in the message to the PC, just "PC takes x damage from someone".
Any thought to a scripting newbie on this?
thanks in advance.