Jump to content

Photo

Constant upward shot


  • Please log in to reply
5 replies to this topic

#1 Blackpaintbowser

Blackpaintbowser

    Go Bowser Go

  • Members
  • Location:somewhere in the world

Posted 14 March 2024 - 01:31 PM

I require a weapon that while you hold down the button shoots upwards. and you can still move while you're firing it 

 

I'm using 2.53


Edited by Blackpaintbowser, 14 March 2024 - 05:00 PM.


#2 Yuuki

Yuuki

    Recipient of Ways

  • Members
  • Pronouns:She / Her

Posted 17 March 2024 - 11:04 AM

Up into the sky or north?

#3 Blackpaintbowser

Blackpaintbowser

    Go Bowser Go

  • Members
  • Location:somewhere in the world

Posted 17 March 2024 - 11:33 AM

Up into the sky or north?

north



#4 Yuuki

Yuuki

    Recipient of Ways

  • Members
  • Pronouns:She / Her

Posted 17 March 2024 - 05:01 PM

 See:

int Dir

in:

https://www.zeldacla...ump=lweapon::id



#5 Emily

Emily

    Scripter / Dev

  • ZC Developers

Posted 17 March 2024 - 09:26 PM

`zeldaclassic.com` is outdated; an updated link would be https://zquestclassi...ump=lweapon::id



#6 Yuuki

Yuuki

    Recipient of Ways

  • Members
  • Pronouns:She / Her

Posted 18 March 2024 - 02:57 PM

Here is how to make the wooden sword's beams only shoot north:

#include "std.zh"

lweapon script PolarisBlade
{
    void run()
    {
        this->Dir = 0; // north
    }
}

After compiling click 'OK' in the ZScript Parser window and assign PolarisBlade to LWeapon Slot 1.  Then in the Item Editor, select Sword 1, click Edit, select the Scripts tab, then Weapon subtab, and select 'PolarisBlade' in the Weapon Script dropdown and place the wooden sword on the screen.


Edited by Yuuki, 18 March 2024 - 02:59 PM.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users