Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Dark Dreams of Furiae - a new module for NWN:EE! Buy now
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

Problem with CreateVIsualEffect in BG2

Wizer13Wizer13 Member Posts: 65
Hi everyone. I'm experimenting with modding, and i've been trying to include an animation of teleportation before a LeaveAreaLUA (x,y). I've managed to initiate the animation on each player, but the whole sequence goes in loops afterwards. It even imposes itself multiple times. Since i've not seen a parameter to include a number of time for apparition, I wonder how to stop it, or which action I should use.

Here's the coding I've used:

IF
Global("QUEST_CAVI","GLOBAL",1)
THEN
RESPONSE #100
CreateVisualEffectObject("OHRSGATE",Player1)
CreateVisualEffectObject("OHRSGATE",Player2)
CreateVisualEffectObject("OHRSGATE",Player3)
CreateVisualEffectObject("OHRSGATE",Player4)
CreateVisualEffectObject("OHRSGATE",Player5)
CreateVisualEffectObject("OHRSGATE",Player6)
Wait(2)
FadeToColor([20.0],0)
ActionOverride(Player1,LeaveAreaLUA("ARCC01","",[645. 811],4))
ActionOverride(Player2,LeaveAreaLUA("ARCC01","",[628. 793],4))
ActionOverride(Player3,LeaveAreaLUA("ARCC01","",[716. 797],4))
ActionOverride(Player4,LeaveAreaLUA("ARCC01","",[730. 818],4))
ActionOverride(Player5,LeaveAreaLUA("ARCC01","",[726. 858],4))
ActionOverride(Player6,LeaveAreaLUA("ARCC01","",[691. 874],4))
FadeFromColor([20.0],0)

END

Thank you for your time! :)

Comments

Sign In or Register to comment.