1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

flint and steel

Discussion in 'Skript' started by xSc0ut, Dec 20, 2018.

Thread Status:
Not open for further replies.
  1. xSc0ut

    xSc0ut Member

    Joined:
    Dec 20, 2018
    Messages:
    9
    Likes Received:
    0
    question, is it possible to add in skript how long the flint/steel will last in game?
    Code (Skript):
    1. on place of a flint and steel:
    2.     set fire to ground for 3 seconds
    i know that doesn't work. but something along these bases?
     
  2. L

    Joined:
    Jan 26, 2017
    Messages:
    363
    Likes Received:
    19

    check wenn fire gets placed and cancel it with block physics

    Code (Skript):
    1. on right click with flint and steel:
    2.  
    3. on block physics:
    4.     if event-block is fire:
     
  3. xSc0ut

    xSc0ut Member

    Joined:
    Dec 20, 2018
    Messages:
    9
    Likes Received:
    0

    doesn't seem to work.
    Code (Skript):
    1. on block physics:
    2.     if event-block is fire:
    3.         wait 4 ticks
    4.         cancel event
    it gives me an error
     
  4. Efnilite

    Supporter

    Joined:
    May 12, 2018
    Messages:
    218
    Likes Received:
    14
    Medals:
    You can't wait to cancel an event. Also in the future providing the error would be nice lol
     
Thread Status:
Not open for further replies.
Loading...