Initial upload
Initial upload
This commit is contained in:
27
_module/nss/2_polar_party1.nss
Normal file
27
_module/nss/2_polar_party1.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
#include "cs_misc_function"
|
||||
|
||||
void main()
|
||||
{
|
||||
//
|
||||
// Move everyone within 20 meters of speaker to wp_cain waypoint (CS)
|
||||
//
|
||||
object oPC = GetPCSpeaker();
|
||||
if (oPC != OBJECT_INVALID) {
|
||||
cs_MovePartyNearbyToLocation(oPC, "wp_bearhome", 20.0);
|
||||
}
|
||||
|
||||
/* OLD SCRIPT VERSION
|
||||
|
||||
object oPC = GetFirstPC();
|
||||
object onPC = GetLastSpeaker();
|
||||
while (GetIsPC(oPC)) {
|
||||
float fDistance = GetDistanceBetween(oPC, onPC);
|
||||
if (fDistance <= 30.0) {
|
||||
DelayCommand(1.0,AssignCommand (oPC, JumpToObject(GetWaypointByTag("wp_cain"))));
|
||||
} else {
|
||||
}
|
||||
oPC = GetNextPC();
|
||||
};
|
||||
*/
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user