Jump to content

Photo

2 simple scripts wanted.


  • Please log in to reply
1 reply to this topic

#1 Aslion

Aslion

    End Fascism

  • Members
  • Real Name:Ryan
  • Location:Plug One's spectacles

Posted 08 December 2007 - 09:57 PM

Custom Item -> Secret - should be easy, hell, I almost did this one. Pretty much, item z# triggers one of those General Use flags.

Whistle - All I want for this is the existing whistle/ocarina. I want it to function exactly as the old one does already and everything. I plan on using different ocarinas for different songs, and getting a new one would only replace the old one - playing all the songs. Not good enough =D

Edit: I've decided that the whistle doesn't need the whirlwind, I hate that anyways.

thanks for this icon_thumbsup.gif

Edited by gray0x, 09 December 2007 - 09:31 AM.


#2 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 10 December 2007 - 09:41 PM

CODE

ffc script secret{
void run(int itm, int map, int screen){
Waitframe();
if(Link->Item[itm]){
Game->SetMapFlag(map,screen,13, true);}
}
}


d0-item
d1-map of secret
d2-room to trigger secret


for number 2 I believe you can do that without scripting. Did you try making multiple whistles such as lv1, lv2, etc and changing the action sound?


..you know about import "stz.zh"
right.?

Edited by Gleeok, 10 December 2007 - 09:43 PM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users