Jump to content

Photo

If Link does not have Shield 3 (Mirror) make Link have Shield 3 (Mirro


  • Please log in to reply
4 replies to this topic

#1 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Gender:Male
  • Location:North America

Posted 18 November 2017 - 02:42 AM

Shield 3 (Mirror) is item #37


What do I save such a script as?


^ How do I make such a script be applied to DMap 2?


@Saffith

Edited by LikeLike888, 19 November 2017 - 05:41 AM.


#2 Rastael

Rastael

    Wizard

  • Members
  • Real Name:Raphael
  • Gender:Male
  • Location:Austria

Posted 22 November 2017 - 01:22 AM

I don't really understand, what Kind of script do you Need. Can you explain it step by step? :)


Edited by Rastael, 22 November 2017 - 01:22 AM.


#3 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Gender:Male
  • Location:North America

Posted 22 November 2017 - 09:23 AM

@Rastael I need a script that if
Link does not have Shield 3 (Mirror) Link will now have Shield 3 (Mirror).

#4 Saffith

Saffith

    IPv7 user

  • ZC Developers
  • Gender:Male

Posted 22 November 2017 - 06:27 PM

Since you have multiple requests along the same lines, how about this?
ffc script SetInventory
{
    void run(int itemID, bool val)
    {
        Link->Item[itemID]=val;
    }
}
Set that up wherever you want to give or take an item. Set D0 to the item number, and set D1 to 1 to give Link that item or 0 to take it away. You should also check the "Run Script at Screen Init" FFC flag.

Does that work for you?
  • Rastael likes this

#5 LikeLike888

LikeLike888

    Spicy food lover!!

  • Members
  • Real Name:Jason
  • Gender:Male
  • Location:North America

Posted 24 November 2017 - 02:26 PM

Yes excellent


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users