Since im pretty much garbage at scripting this has taken me maaaaaaaany hours to be at the stage i am now.
1 problem mainly remains now:
My Vampire is supposed to burn to death via GelVa31.spl if he is exsposed to sunlight and not wearing the Daywalker ring GelVa02.itm
First of all, i dont play with AI on, i hate it. Even in solos.
So my struggle is, how can i have a script to trigger on the correct PC. P1, to P6?
The only thing i have found out about is baldur.bcs and baldur25.bcs for tob.
So currently my script looks like this:
IF
Kit(PLAYER1,GeVaKit)
Class(PLAYER1,MONK)
Global("GeBurn","GLOBAL",1) // Set by GelVa70.spl, which also sets global for male/female vampire shapeshift script
!HasItemEquiped("GelVa02",PLAYER1)
TimeGT(DAWN_START)
TimeLT(DAWN_END)
//OR(5)
//!Global("WEATHER","LOCALS",3) // Rain
//!Global("WEATHER","LOCALS",4) // Snow
//!Global("WEATHER","LOCALS",5) // Fog
//!AreaType(DUNGEON)
//!AreaType(EXTENDEDNIGHT)
//!AreaType(DREAMAREA) // Dont work
OR(2)
AreaType(OUTDOOR)
AreaType(CITY)
ActionListEmpty()
THEN
RESPONSE #100
SetGlobal("GeBurn","GLOBAL",2)
ActionOverride(PLAYER1,ReallyForceSpellRES("GelVa31",PLAYER1))
//ReallyForceSpellRES("GelVa31",PLAYER1)
Continue()
END
And i use this to add it to bottom of baldur.bcs:
COPY_EXISTING ~BALDUR.BCS~ ~override~
EXTEND_BOTTOM ~BALDUR.BCS~ ~GeVaKit/Scripts/Baldur.baf~
Once this section works, i will copy it for player2, 3, 4, 5 and 6
I dont fully Even understand how «continue» works, i do not know if actionlistempty is smarte to use, i dont know if setting global value 2 is Even needed, and i dont know if ActionOverride is the right thing to use here. This is version 20, and my Vampire still refuse to burn in sunlight without his ring
The idea about the ring is that its a nerfing ring, where it would be benefitial to take it off whenever no sunlight is present. I dont want it to be cursed, or autoswapped like hexxas items etc.
Can anyone please help me, im stuck like a fish in a Jar xD
I fixed a simular problem earlier on something Else with removing the continue thing. I tried to read what continue actually does in weidu book and iesdp page, but it goes over my head. Dont understand it properly xD
Also, it dont have to be that spells, it could be scripted death as well, i just dont know enought.
In that case i would love something like:
Fire damage animation
Play visual (custom bam)
Wait(10) Dno value, but maby let burn for 2-3 seconds
Disintegrate including animation for it.
(100% bypassing resists/immunities and such)
Edited by Gel87, 04 November 2024 - 09:28 AM.