9 lines
207 B
Plaintext
9 lines
207 B
Plaintext
void main()
|
|
{
|
|
object area_self = GetArea(OBJECT_SELF);
|
|
object area_pc = GetArea(GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC));
|
|
if (area_self != area_pc){
|
|
DestroyObject(OBJECT_SELF);
|
|
}
|
|
}
|