Jump to content

Photo

Thunder Rod


  • Please log in to reply
1 reply to this topic

#1 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 25 October 2017 - 06:04 PM

Hello i got a request for you... in fact i did try to make myself a script but it's pretty very hard so i did only a importent part for the script like the const int for the item scripts. 

 

Here we go.

const int THUNDER_FLASH = 50; //Is the color of the flash when the ThunderBalls explode.
const int SFX_THUNDER = 100; //Is the sound when Link fires the ThunderBalls.
const int SPR_THUNDER_BALLS = 98; //The sprite of the ThunderBalls.
const int CT_SECRET_INVISIBLE = 7; //Is the combo type secret for the trigger for the ThunderBalls.
const int SPR_ELECTRIFIED_WATER = 99; //Is the sprite of the electrified water if the ThunderBalls touch the water.
const int SPR_SHOCKED_LINK = 100; //Is the sprite of Link if he hit the ThunderBalls.

item script ThunderRod{
  void run(){
   // This function is the one that actually gets called by ZC.
   int
    // ... do whatever here ...
  }  

  // You can create other functions to be used by the run()
  // function.
  //...other functions here...
}

I started from this point. I do want those functions:

 

-Link can electrifie any waters and shallow waters type combos if the thunder balls touch the waters.

-Link can trigger a certain type of the combo only with this script type item cause the activations of secrets. 

-Link can be shocked himself if he hit the thunder balls by himself or by projectives.

-Link don't need magics to use it.

-Only 3 thunder balls can be create.

-Thunder balls can bounce if you want too.

 

Here i'm finished. I do want this item script because well i do want to include to the script deta base.

 

Here's someone who can help me ?


Edited by Sans, 25 October 2017 - 06:04 PM.

  • Jared likes this

#2 Jared

Jared

    Deified

  • Members
  • Real Name:Jared
  • Pronouns:He / Him
  • Location:New Hampshire

Posted 26 October 2017 - 10:56 AM

I actually needed a thunder rod script too....this fit it almost perfectly. How odd.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users