Aller au contenu

Photo

Activate Tile Animation, possible?


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
Greyjoy

Greyjoy
  • Members
  • 9 messages
Hey,

Is it possible to activate a Tile's animation with NWScript?  I have a Mill the player can restore and, at default, the animations are off for the Mill but once restored I'd like to animations to be turned on.

I've searched the lexicon, guess I am missing something.  Any ideas?

#2
Baragg

Baragg
  • Members
  • 271 messages
I do believe it is possible, but can't remember how I am sure Funky or some of the high gurus' can illuminate.

#3
Baragg

Baragg
  • Members
  • 271 messages
There is a CEP object that can be turned off and on by touch check that item that may help you if you have CEP installed.

#4
Melkior_King

Melkior_King
  • Members
  • 135 messages
It looks like there's no way to do this without using something like NWNX2 (and as far as I know there is no function yet created for nwnx2 to do this).

It's possible to turn on and off fires and similar light sources and to change their colors by using SetTileSourceLightColor but there seems to be no way to turn the animation flag on and off using the scripting language, unless there is an undocumented function somewhere.

#5
Greyjoy

Greyjoy
  • Members
  • 9 messages
Yep, I've searched around the Wide Web and the Lexicon and have come up with nothing. I think this to be a dead end and not a feature possible with scripting. Thanks anyway!

#6
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 945 messages
About the only way to accomplish something like that would be to use day/night animations, and change the areas time of day via script. The issue would be that you end up with animations that turn off / on / faster; all depending on the time of day that you set them up for.

Could be accomplished storyline wise by saying something along the lines of "the factory shuts down at night" or "The factory only runs at night". You would of course have to set the default animation to be stopped.