Aller au contenu

Photo

NESS, reactivating a deactivated SP - heeelllpppp!


  • Veuillez vous connecter pour répondre
Aucune réponse à ce sujet

#1
GIANTSWORD

GIANTSWORD
  • Members
  • 88 messages

I simply cannot figure out how to reactivate a deactivated spawnpoint using NESS.  I'm loving all of its features I am just stuck right here.

 

I've read through the manual several times and this part is just over my head with the functions.  I know you have to use some other means to reactivate other than the actual spawn point so I've been trying to get a generic trigger to reactivate the spawn point.

 

Here is an example of the last thing I tried on a trigger to reactivate the SP with ID17

 

#include "spawn_functions"
 
object NESS_GetSpawnByID(int nSpawnID, object oArea);
void NESS_ActivateSpawnByID(int nSpawnID, object oArea);
void NESS_DeactivateSpawnByID(int nSpawnID, object oArea);
 
 
 
void main()
{
object oPC = GetEnteringObject();
 
NESS_ActivateSpawnByID(17, GetArea(OBJECT_SELF));
NESS_ForceProcess(NESS_GetSpawnByID(17, GetArea(OBJECT_SELF)));
}