delgathar Posted July 27, 2015 Posted July 27, 2015 Hello, I had trouble adding a keyword, then I read to add an alias, attach the keyword to the alias, then force the alias on the player. CAE_EnableAlias.ForceRefTo(PlayerRef) It worked. But now how do i get rid of it?I've tried the clear() function but I just get compiler errors. "None is not a known user type" "CAE_EnableAlias is not a property on script actor or one of its parents" CAE_EnableAlias.PlayerRef.Clear() PlayerRef.CAE_EnableAlias.Clear() PlayerRef is not a property on script referencealias or one of its parents Now CAE_EnableAlias.Clear() gives no errors, but it doesn't seem to work either. I was still showing the keyword after it should have been deleted.Thank you.
Veladarius Posted July 28, 2015 Posted July 28, 2015 CAE_EnableAlias.Clear() is the proper command to use and should have cleared the alias along with it.
delgathar Posted July 29, 2015 Author Posted July 29, 2015 Is there some kind of delay, because I used CAE_EnableAlias.Clear() first. I double checked the logic but it didn't remove the keyword, that was why I tried the other options. Thank you.
Veladarius Posted July 29, 2015 Posted July 29, 2015 There should not be. Use sqv <quest> to see the variables from the quest, check if the alias still has the player in it to make sure it was cleared.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.