Code: Select all
Actor VPlasmaBall : PlasmaBall
{
States
{
Spawn:
PLSS AB 6 A_RadiusGive("Freezer",65,RGF_MONSTERS|RGF_EXFILTER,1,"RShield")
Loop
Death:
PLSE ABCDE 4 A_RadiusGive("Freezer",65,RGF_MONSTERS|RGF_EXFILTER,1,"RShield")
Stop
}
}
Actor Freezer : CustomInventory
{
+INVENTORY.ALWAYSPICKUP
Inventory.MaxAmount 0
States
{
Pickup:
"####" "#" 0 A_GenericFreezeDeath
Stop
}
}
So questions itself:
1. What determines the duration of A_GenericFreezeDeath f-tion? And how it can be controlled?
2. In case if duration hardcoded and there no levers to directly control function duration, then how it can be terminated (via another custominventory "unfreezer" for ex.) outside? With exception of calling foe's Pain state ofc.
3. How to restore foe's source translation? I mean I know about A_SetTranslation and Thing_SetTranslation functions, but I dunno values\stringname of default translation vanilla's actors.
Or maybe I should use another methods of translation restoring?