Jump to content

Photo

FFCs triggered by secrets


  • Please log in to reply
3 replies to this topic

#1 Darkhogg

Darkhogg

    Initiate

  • Members
  • Location:Madrid

Posted 15 December 2008 - 11:36 AM

ok, I've been searching in menus and help files, even in ZCwiki, and I didn't find anything, so I ask you...
I want to make an effect witch rocks on bombs explosions. I mean, you break some kind of big rock and little rocks jump and fly around. FFC's are done.
The only thing i don't know how to do is that the script starts ONLY when the bomb flag is activated (secrets turned ON and such...). Not before, not after. also i want FFC's being invisible while not running, but if I know the first part, the invisibility isn't too hard...

hope somebody knows and help. thanks!

#2 Christian

Christian

    Summoner

  • Members
  • Real Name:Chris
  • Location:New Jersey

Posted 15 December 2008 - 02:18 PM

Do you think you can re-write what you wrote? I barely understood anything in that post. I don't know what you're trying to do.

#3 Joe123

Joe123

    Retired

  • Members

Posted 15 December 2008 - 02:25 PM

Urm...
I'd do it a little like this:
CODE
    int loc = ComboAt(this->X,this->Y);
    int orig = Screen->ComboD[loc];
        while(Screen->ComboD[loc] == orig) Waitframe();

With the ffc placed on top of the bomb flag, that code will idle the script until the secrets are triggered.

#4 Darkhogg

Darkhogg

    Initiate

  • Members
  • Location:Madrid

Posted 15 December 2008 - 02:31 PM

Thanks joe, you saved my life =D
christian, sorry.. icon_frown.gif


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users