Author Topic: help finishing a puzzle script please.  (Read 916 times)

Legacy_zero-feeling

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #15 on: December 22, 2010, 11:58:05 am »


               one more go at this.... bump.
               
               

               
            

Legacy_420

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #16 on: December 22, 2010, 06:39:17 pm »


               

zero-feeling wrote...

one more go at this.... bump.

Sorry about that, I completely forgot.

You'll want to do something like this before applying the visual effect:

effect eRemove = GetFirstEffect(OBJECT_SELF);
while(GetIsEffectValid(eRemove))
    {
    if(GetEffectCreator(eRemove) == OBJECT_SELF) RemoveEffect(OBJECT_SELF, eRemove);
    eRemove = GetNextEffect(OBJECT_SELF);
    }

-420
               
               

               
            

Legacy_zero-feeling

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #17 on: December 23, 2010, 07:32:26 am »


               like so?

      effect eRemove = GetFirstEffect(OBJECT_SELF);
      while(GetIsEffectValid(eRemove))
         {
         if(GetEffectCreator(eRemove) == OBJECT_SELF) RemoveEffect(OBJECT_SELF, eRemove);
         eRemove = GetNextEffect(OBJECT_SELF);
         }
      ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_DUR_GLOW_YELLOW), oStatue, 0.0);
      ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_ELECTRIC_EXPLOSION), oStatue, 0.0);
      int nInt = GetLocalInt(OBJECT_SELF, "PUZZLE");
      SetLocalInt(OBJECT_SELF, "PUZZLE", nInt+1);
      }
               
               

               
            

Legacy_zero-feeling

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #18 on: December 23, 2010, 07:39:22 am »


               well thats not right..... now they are unuseable again....
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #19 on: December 24, 2010, 12:33:55 am »


               Have you got dropbox? I'd be willing to take a look if you have. If you have just drop it into your public folder and PM me with the address and I'll download it.



TR
               
               

               
            

Legacy_zero-feeling

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #20 on: December 24, 2010, 08:50:19 am »


               dropbox? i don't kow what this is. right now, funky is looking into it, not sure of his progress, but i can send you the same mod i sent him if you'd like. just PM me with your e-mail.
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #21 on: December 24, 2010, 12:40:42 pm »


               If funky is looking at it, you probably don't need my help. I expect funky will have it fixed for you shortly. In the very unlikely event they can't, just pm me and I'll get back to you and try to fix it myself.

Dropbox is a free tool that gives you access to a free amount of web storage (like a tiny 2 gig hard drive). Best of all it allows you to share stuff with other people. Another great thing is that they only require the absolute minimum of information from you to get it. To check it out just go here.

They also have a scheme whereby if you send someone to sign up for it via a special link, both you and the person signing up to it get an extra 250 meg of storage each. For example if you were to sign up for it via this link, both you and I would get the extra space.

TR
               
               

               


                     Modifié par Tarot Redhand, 24 décembre 2010 - 12:43 .
                     
                  


            

Legacy_zero-feeling

  • Sr. Member
  • ****
  • Posts: 287
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #22 on: December 25, 2010, 09:40:57 am »


               got a dropbox... thanks for telling me about it. will be adding the mod to it for future help i guess '<img'>
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #23 on: December 25, 2010, 04:16:56 pm »


               

zero-feeling wrote...

got a dropbox... thanks for telling me about it. will be adding the mod to it for future help i guess '<img'>



Also dont forget that you can always upload files to your project.
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
help finishing a puzzle script please.
« Reply #24 on: December 25, 2010, 10:31:38 pm »


               

zero-feeling wrote...

got a dropbox... thanks for telling me about it. will be adding the mod to it for future help i guess '<img'>


You're welcome. Also don't forget you can update any file that is in any folder under your main dropbox folder simply by overwriting it as long as you are connected to the internet.

TR