Jump to content

Photo

Biggoron Sword


  • Please log in to reply
3 replies to this topic

#1 Chakaa

Chakaa

    Hench 4 Life

  • Members
  • Real Name:Mark
  • Location:Massachusetts

Posted 07 July 2011 - 11:21 AM

I was thinking of a new weapon ZC could use, what about a Biggoron Sword? In addition to having a one-handed sword, you can also switch to a two-handed sword that disables whatever button it's not assigned to. (You would need the rule for selecting an A button item to be checked to switch swords).

I'm not really requesting anything, just throwing out an idea. I'm not sure if there is already a forum for that.

#2 Mero

Mero

    Touch Fluffy Tail

  • Banned
  • Real Name:Tamamo No Mae
  • Location:Rainbow Factory

Posted 07 July 2011 - 11:30 AM

I'm willing to give this a try after I finish the OOS facade boss.
Here we go!

CODE
global script biggoronsword{
    void run(){
        while(true){
            if(GetEquipmentA() == BIGSWORD){
                Link->InputB = false;
            }
            else if(GetEquipmentB() == BIGSWORD){
                Link->InputA = false;
            }
            Waitframe();
        }
    }
}

Edited by blackbishop89, 08 July 2011 - 09:02 AM.


#3 NoeL

NoeL

    Legend

  • Members
  • Real Name:Jerram

Posted 07 July 2011 - 09:09 PM

You might've forgot a curly brace after "while(true)".

#4 Mero

Mero

    Touch Fluffy Tail

  • Banned
  • Real Name:Tamamo No Mae
  • Location:Rainbow Factory

Posted 08 July 2011 - 09:03 AM

QUOTE(NoeL @ Jul 7 2011, 08:09 PM) View Post

You might've forgot a curly brace after "while(true)".

Oopps!
Well I Fixed it. I forgot to mention, You need to import std.zh for some of the functions to work.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users