Amon_PRC8/_module/nss/leo_sdsetjump4.nss

22 lines
502 B
Plaintext
Raw Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
object oPC = GetItemActivator();
object oTarget = GetItemActivatedTarget();
object oItem = GetItemActivated();
//object oCharm = GetLocalObject(oPC, "luckcharm");
location Llocation = GetLocation(oPC);
string sTag = GetTag(oItem);
object oArea = GetAreaFromLocation(Llocation);
vector vPosition = GetPositionFromLocation(Llocation);
float fOrientation = GetFacing(oTarget);
location myLocation = Location(oArea,vPosition,fOrientation);
SetLocalLocation(oItem,"SDJ4",myLocation);
}