Scriptname BossyQuest extends Quest ConditionalActor Property boss_ref autoActor Property player_ref autoSo these two properties correspond to quest aliases of the same names under the same quest the script is attached to. At first I thought those aliases' values might get automatically populated into these properties. That obviously isn't the case. I thought about using the GetAlias() function, but that only returns an Alias, not the actual value that has been assigned to the alias (actors in this case). I looked up the wiki page on how to access properties and tried with that in two methods. In the first method I assigned a script to the boss_ref quest alias:
Scriptname BossyBoss_Ref extends ReferenceAlias BossyQuest property quest_ref autoEvent OnInit() quest_ref.boss_ref = GetActorReference()EndEventI also included a Debug.MessageBox in the quest script to print out the boss_ref's actor base's name to test if boss_ref was being assigned correctly. When I ran my cell, however, the message box was blank. I tried the same method by assigning a script to the actual boss actor:
Scriptname BossyInterface extends ActorBossyQuest property quest_ref autoEvent OnInit() quest_ref.boss_ref = selfendEventBut this didn't work either. I have to imagine altering these values is fairly common practice. What am I doing wrong!?
thanks,
Nathan