filling in fire embers for aliases not working

Post » Sat Oct 17, 2015 10:05 pm

Hi gang.

Everytime I am getting cocky about my modding skills I get humbled by something like this.,

I am having the player enter a dungeon. When he does, a script runs. The script uses the skse command for menu opn type "loading" to trigger and that works fine. I have debub messages everywhere to make sure.

so that script is running.

Then I made formlists that have the base ids of all the embers in the game. almost always used by braziers, like the two down the ramp in bleak falls barrow. I ALSO made a second formlist of all the references to embers in bleak falls barrow, just in case.

Then I made a quest where i stop and run the quest after a couple of seconds of entering the dungeon, to fill in aliases and give them a script. the script as it i supposed to extends reference alias. Like so:

Scriptname nolightsonhit extends ReferenceAlias  Int property choose AutoEvent OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \  bool abBashAttack, bool abHitBlocked) debug.Notification("Hit!!!!!") if (aksource.HasKeyword(MagicDamageFire) == 1 )  choose = 1  elseif (aksource.HasKeyword(MagicDamageFrost) == 1 )  choose = 2 RegisterForSingleUpdate(2.0)EndIf   EndEvent     Event OnUpdate()   if choose == 1self.GetReference().disable()debug.Notification("fire!!!!!")choose = 0Elseif choose == 2debug.Notification("frost!!!!!")self.GetReference().enable()choose = 0EndIf

So I have a debug message to run no matter what on hit, just for testing.

But the objective is to enable and disable the embers on top of the braziers when hit bny fire or ice. to go with my mod eternal darkness, at : http://www.nexusmods.com/skyrim/mods/70454/?

but the blasted alises do not fill!! or if they do they do not attack the script! Been trying for two days. heeeelppppppppp! please?

here is my alias (made 30 of them). I tried with and without player near check, and with oner formlists at a time. nothing works. testing in bleak falls barrow:

http://imagizer.imageshack.us/v2/800x600q90/633/pdWuHN.png

I also tried using the console commands stopquest and startquest to stop and start the quest event but no joy with scripts attaching.

User avatar
Britta Gronkowski
 
Posts: 3475
Joined: Mon Apr 09, 2007 3:14 pm

Post » Sat Oct 17, 2015 11:24 am

this is the content of one of the form lists: http://imagizer.imageshack.us/v2/800x600q90/912/EZiKVm.png

this is the content of the formlist that contains the base object fo the references we are trying to fill into the aliases: http://imagizer.imageshack.us/v2/800x600q90/907/8qzYZq.png

quest pages used:

http://imagizer.imageshack.us/v2/800x600q90/908/8UJW9j.png

and

http://imagizer.imageshack.us/v2/800x600q90/909/skXUGR.png

and one more quest event page showing all the aliases: http://imagizer.imageshack.us/v2/800x600q90/909/8icin7.png

User avatar
FITTAS
 
Posts: 3381
Joined: Sat Jan 13, 2007 4:53 pm


Return to V - Skyrim