RATDOG/_module/nss/otres_travelcall.nss

17 lines
481 B
Plaintext
Raw Normal View History

//This calls the overland travel function
#include "otres_overland"
void main()
{
int bTravel=GetLocalInt(GetPCSpeaker(),"bTravel");
int iHoursToGo=GetLocalInt(GetPCSpeaker(),"iHoursToGo");
string sDestination=GetLocalString(GetPCSpeaker(),"sNextDestinationTag");
string sTerrain=GetLocalString(GetPCSpeaker(),"sTerrain");
float fFacing=GetLocalFloat(GetPCSpeaker(),"fFacing");
if (bTravel)
{
OverlandTravel(iHoursToGo,sDestination,sTerrain,fFacing);
}
else return;
}