Well I've set a trigger around the lift itself with this script on it:
void main()
{
effect eDamage;
object oTarget;
// Get the creature who triggered this event.
object oAll = GetEnteringObject();
// Checks positions
oTarget = GetNearestObjectByTag("Ropedtc001");
int a = GetLocalInt(oTarget, "LV_DTC_Areaheight");
oTarget = GetObjectByTag("DTC_Southernlift_03");
int b = GetLocalInt(oTarget, "LV_DTC_Southernliftheight");
// If the lift is right there
if (a=
{
// Confirms the creature steps on the lift.
SetLocalInt(oAll, "LV_DTC_isonsouthernlift", 1);
}
else
{
ExecuteScript("dtc_liftpit_c", oAll);
}
}
I'm trying then to make the port active for everything that would have "LV_DTC_isonsouthernlift" set to 1 when the PC uses the rope. Any other PC that the one using the rope, any creature or any dropped item, just to make it realistic.