Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#629063 10/10/17 02:38 AM
Joined: Apr 2016
Location: Los Angeles, CA
E
Eldarth Offline OP
journeyman
OP Offline
journeyman
E
Joined: Apr 2016
Location: Los Angeles, CA
I copied PUZ_RisingPlatform.itemScript to Portcullis.itemScript and added some Output lines.

I placed a BLD_HOE_Wall_Shifting_4m_A asset on level and replaced it's RootTemplate with a BLD_Humans_Prison_Grating_I.

I've got the following script fragment

THEN
Output("Portcullis Init CLOSE")
ItemPlayAnimationTo("close",100.0,100.0)
ELSE
Output("Portcullis Init OPEN")
ItemPlayAnimationTo("open",100.0,100.0)
ENDIF

When I click on the item, I can see the Output lines, but the animation does nothing.

Are item animations hardcoded/embedded into the models themselves?

Joined: Mar 2016
Location: Belgium
T
addict
Offline
addict
T
Joined: Mar 2016
Location: Belgium
Animations indeed need to be made per model.

Joined: Apr 2016
Location: Los Angeles, CA
E
Eldarth Offline OP
journeyman
OP Offline
journeyman
E
Joined: Apr 2016
Location: Los Angeles, CA
Originally Posted by Tinkerer
Animations indeed need to be made per model.


Rats. I guess I have to animate it via scripting then. That makes life harder. At least it's simple movement along a single axis of the entire model.


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5