I've got a simple sparring quest running but can't get the spawned opponent to get forced upon the alias.
Quest is -- Start Game Enable and has a single stage as the start up stage
Opponent alias -- Allow Dead, Allow Disabled, Optional, and I tried Allow Destroyed just for the hell of it.
ReferenceAlias Opponent autoFormList OpponentTypes auto; ... ...Function SpawnOpponentAtRef(ObjectReference arSpawnRef) ; Randomly selects an opponent from OpponentTypes ActorBase opponentType = OpponentTypes.GetAt(Utility.RandomInt(0, OpponentTypes.GetSize() - 1)) as ActorBase ; Spawns opponent Actor tempOpponent = arSpawnRef.PlaceActorAtMe(opponentType, 2) as Actor ; I've tried waiting a second here. ; Sets Opponent Reference Opponent.ForceRefTo(tempOpponent); Error: Can't ForceRefTo a None object blah...EndFunction
I don't know if it's something stupid or if there is a better way to do this with keywords -- I've done the MagicalEffect alias work around but it won't hold up to future plans.