Jump to content

Photo

Hold FFC Up?


  • Please log in to reply
2 replies to this topic

#1 Alestance

Alestance

    Saint Alestance - Eliminator of the ZGP format

  • Members
  • Real Name:Lonk
  • Location:Pennsylvania

Posted 04 August 2009 - 12:04 PM

I need an FFC Script that mimics the behavor of item pickup(like holding it up)

First, it has to check if it's already activated, so I assume I'll need a some global variables.

So if activated goes true, the FFC would move off screen

If Activated goes false it waits until Link is nearly on top of it.

Once that happens, it moves to a location thats relevant to the Holding sprite it's meant to mimic. If D1(or D0, whichever is the first D) is zero, its 1 hand hold-up, if its 1, its 2 hand.

Then it sets Link to hold up the item, and locks up the control of him temporarily

It stops playing the music

Then it plays the sound as listed from the second D variable.

Then it displays the string as listed from the third D variable.

Then, it moves off screen, sets the activated to 1, and releases control of Link to you, and plays the music of that area(and if you have to set that, that'll be the fourth D Variable)

Any questions?

#2 Sephiroth

Sephiroth

    The Legendary Sephiroth

  • Members
  • Location:Somewhere... Lemme know if you find me :)

Posted 04 August 2009 - 07:47 PM

Why not just make a dummy item and place it on the screen?

I'm sure you can script an item script to stop the music or change it. icon_razz.gif

Edited by Sephiroth, 04 August 2009 - 07:48 PM.


#3 Alestance

Alestance

    Saint Alestance - Eliminator of the ZGP format

  • Members
  • Real Name:Lonk
  • Location:Pennsylvania

Posted 05 August 2009 - 01:17 AM

Well, I'd have to do that for every equipment and weapon item. And I'd rather just get a script that I can set on the fly. icon_frown.gif


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users