pxd2050 Posted November 29, 2021 Share Posted November 29, 2021 (edited) I want to use ConsoleUtil to change follower, so I make a formlist , but I don't know which one to add to the formlist? "actor" or "placed NPC"? Doesn't seem to work? Scriptname TBM_attackdamageScript Extends Quest Hidden formlist Property attackdamagemult5 Auto formlist Property attackdamagemult15 Auto formlist Property attackdamagemult30 Auto Event OnPlayerLoadGame() int sizeN15 = attackdamagemult15.GetSize() int i = 0 While i < sizeN15 ObjectReference N15 = attackdamagemult15.GetAt(i) as ObjectReference ConsoleUtil.SetSelectedReference(N15) ConsoleUtil.ExecuteCommand("setav attackdamagemult .15") i += 1 EndWhile EndEvent Edited November 29, 2021 by pxd2050 Link to comment Share on other sites More sharing options...
ReDragon2013 Posted December 4, 2021 Share Posted December 4, 2021 (edited) I know English is not your native language, but please check next: Scriptname TBM_attackdamageScript Extends Quest Hidden Event OnPlayerLoadGame() ; some code here EndEventIts impossible to trigger event OnPlayerLoadGame() within a script of type quest. Every script type (marked as "extends type") has a single script to look for. Quest.pscReferenceAlias.pscActor.pscObjectReference.pscActiveMagicEffect.psc Inside the scripts you will find the events and functions (native or convenience) which can be used within the scripts self-made. Edited December 4, 2021 by ReDragon2013 Link to comment Share on other sites More sharing options...
Recommended Posts