×
Меню
Индекс

MSFD Detect player traveling

 
[no fix] GetPCTraveling (returns boolean)
 
     if ( GetPCTraveling == 1 )
 
Bloodmoon adds a functions to check whether the PC is traveling (i.e. on a Silt Strider). Will return 1 if traveling/in jail, zero otherwise. This is used in the werewolf change script to stop the PC from changing if either of these are true:
 
 
if ( PCWerewolf != 1 )      ; DON’ RUN IF PLAYER ISN’T WEREWOLF
     return
endif
 
if ( GetPCinJail == 1 )
     return
endif    
 
if ( GetPCTraveling == 1 )
     return
endif