Sunnstor Posted May 16, 2015 Posted May 16, 2015 I'm currently trying to write a script which prevents an animation from playing if the player is not able to move freely (Like beeing in a sexlab animation, or beeing in bleedout or lying on the floor during or after Defeat events). The function: isMovementControlsEnabled seems to be the function to accomplish this, but on the Creationkit page it says: Does not work reliably--will often return true even when movement is disabled. Are there other, more reliable functions to detect the player status?
Sunnstor Posted May 16, 2015 Author Posted May 16, 2015 I've tested this, however it always returns 0 (Even if it should not be able to return 0 ... ). This is a sample: SexLabFramework Property SexLab auto Actor Property PlayerRef Auto int validCheckTwo = SexLab.ValidateActor(PlayerRef )Notification("Valid :" + validCheckTwo) If I use SexLab.IsValidActor(PlayerRef ), it always returns false, even if the player just stands idle doing nothing. Since the ValidateActor function can't return 0, I suppose that I'm doing something seriously wrong here ... Sorry if this is noobish, but I'm learning while doing ...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.