Jump to content

[HELP]G.E.C.K. Deseases and how to remove them.


JayManGTA

Recommended Posts

I decided to make a trait that forces the user to wea contacts. Not wearing them causes the screen to go blurry. The only way to stop this effect is by using Contacts (Temporary).

Thing is, when I use said contacts, the effect doesn't fade away.

The trait starts a "Desease" script which adds the screen FX. Using ActorEffect/Poison/Ability won't work.

I tried adding "Dispel" and "RemoveSpell" to the cure script (which removes the effect), but for some reason, they don't work. Using Cure Desease Effect Archetype won't work, either.


What am I doing wrong here?

Edited by JayManGTA
Link to comment
Share on other sites

If anything else fails, you could always try with a quest script that will check if the player is wearing the contacts. This quest would be started when the player takes the trait. Something like so...

scn TraitQuestScript

Begin GameMode
	if player.GetEquipped ContactsID
		RIMOD YourBlurryVision
        Else
                IMOD YourBlurryVision
	endif
End

I'm kinda writing this from memory but I think it may work. Good luck :)

Link to comment
Share on other sites

Hm... In that case, the unused script AntNectarSCRIPTfx (which is used by AntNectarEFFECT, unused as well) shows how to add an IMOD to an actor effect so you can time it. You could start off with that and try to make it suit your needs :)

Link to comment
Share on other sites

Hm... In that case, the unused script AntNectarSCRIPTfx (which is used by AntNectarEFFECT, unused as well) shows how to add an IMOD to an actor effect so you can time it. You could start off with that and try to make it suit your needs :smile:

It works, sort of. When using the cure the effect is removed.

 

Problem is, it's removed permanently.

 

 

EDIT: I added a begin ScriptEffectFinish in the "Cure" script. It's working as intended now.

 

 

Thanks for the help, by the way.

Edited by JayManGTA
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...