Is there a crystal script?
Is there a crystal script?
Hey guys, I wonder, can you script a crystal use without having a crystal near by? With such a script its also possible to copy a crystal shard of healing from LoG2
Last edited by Resu on Mon Mar 18, 2024 4:08 pm, edited 1 time in total.
Re: I there a crystal script?
What —specifically— do you mean by 'Crystal Use'?
Crystals heal the party, revive the dead, and auto-save the game, as well as deactivate (and reactivate) the crystal on a delay; also animate it and brighten and fade its luminance.
Are you visually faking a use of the crystal? IIRC the crystal's behavior in LoG1 is hard coded. I know of no way to manipulate it as you might a button. Perhaps minmay or one of the others know differently.
But it is possible to script a fake crystal entity... though it might be more involved than most would like.
Crystals heal the party, revive the dead, and auto-save the game, as well as deactivate (and reactivate) the crystal on a delay; also animate it and brighten and fade its luminance.
Are you visually faking a use of the crystal? IIRC the crystal's behavior in LoG1 is hard coded. I know of no way to manipulate it as you might a button. Perhaps minmay or one of the others know differently.
But it is possible to script a fake crystal entity... though it might be more involved than most would like.
Re: I there a crystal script?
Well, I am especially interested in the revive the dead effect because it seems only to be available when using a crystal.
Re: I there a crystal script?
The crystal's reviving the dead is effectively (if not actually) just the party heal command.
Code: Select all
Party:heal()