Author Topic: Activate Tile Animation, possible?  (Read 369 times)

Legacy_Greyjoy

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Activate Tile Animation, possible?
« on: August 03, 2011, 02:35:13 pm »


               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?
               
               

               
            

Legacy_Baragg

  • Sr. Member
  • ****
  • Posts: 496
  • Karma: +0/-0
Activate Tile Animation, possible?
« Reply #1 on: August 03, 2011, 09:31:42 pm »


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

               
            

Legacy_Baragg

  • Sr. Member
  • ****
  • Posts: 496
  • Karma: +0/-0
Activate Tile Animation, possible?
« Reply #2 on: August 03, 2011, 09:32:23 pm »


               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.
               
               

               
            

Legacy_Melkior_King

  • Full Member
  • ***
  • Posts: 234
  • Karma: +0/-0
Activate Tile Animation, possible?
« Reply #3 on: August 04, 2011, 11:22:50 am »


               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.
               
               

               
            

Legacy_Greyjoy

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Activate Tile Animation, possible?
« Reply #4 on: August 04, 2011, 01:35:57 pm »


               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!
               
               

               
            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
Activate Tile Animation, possible?
« Reply #5 on: August 04, 2011, 07:25:01 pm »


               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.