Jump to content

Spawn pigs multiplied by multiplier


ES63

Recommended Posts

command /influxofpigs:
    permission: overfill.pigs
    trigger:
        set {drop} to player's location
        add 0.5 to y-coordinate of {drop}
 
every 2.3 minutes:
    spawn {pigs1} parsed as integer pigs at {drop}
    execute console command "broadcast &c&lA LOT OF PIGS ARE SPAWNING!!!!"
    
on load:
    set {pigs} to 100
    set {multiplier} to 1
    
every 1 minute:
    loop all players:
        {pigs1} = {pigs} * {multiplier}
        if {kills::%loop-player%} is greater than 100:
            add 0.1 to {multiplier}

The spawn pigs part doesn't work, any tips?

Player Stats

IGN - ES63

Rank - Pro

----------------------

Server Stats

RascalPVP - Owner

RandKits - Owner

DoodySim - Owner

-----------------------

066fced7fa2c6eb28ff57c203964a6d3.gif.45df2fe64e40c8d045324e2a6203c1c6.gif

do that ^^^^

i will heart back (i promise)

 

Link to comment
Share on other sites

  • 2 weeks later...
On 7/8/2022 at 8:22 PM, ES63 said:
command /influxofpigs:
    permission: overfill.pigs
    trigger:
        set {drop} to player's location
        add 0.5 to y-coordinate of {drop}
 
every 2.3 minutes:
    spawn {pigs1} parsed as integer pigs at {drop}
    execute console command "broadcast &c&lA LOT OF PIGS ARE SPAWNING!!!!"
    
on load:
    set {pigs} to 100
    set {multiplier} to 1
    
every 1 minute:
    loop all players:
        {pigs1} = {pigs} * {multiplier}
        if {kills::%loop-player%} is greater than 100:
            add 0.1 to {multiplier}

The spawn pigs part doesn't work, any tips?

why do you parser {pigs1} as an integer even though it's already one?

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...