Bulundu yıldırımın düştüğü yeri parçalama skripti

  • Konuyu Başlatan Konuyu Başlatan monarchx
  • Başlangıç tarihi Başlangıç tarihi
  • Görüntüleme 1.625
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Kod:
on lightning strike:
    create explosion with force 2 at event-location
selam dostum bunu dener misin?
olay direkt arkadaşın skript versiyonunun event-location'u algılayamaması
 
Kod:
on lightning strike:
    create explosion with force 2 at event-location
selam dostum bunu dener misin?
This expression is only is in "on world change" event diyor.8
 
Merhabalar aşağıya bir skript bıraktım dener misin?

Kod:
on right click with golden hoe:
    if lore of player's tool contains "Unbreaking V":
        if distance between the target block and the player is less than 11:
            strike lightning effect at the target block
            create explosion of force 4 at the target block
            loop players in radius 2 around the target block:
                ignite the loop-player for 3 seconds
                damage the loop-player by 5
 
Kod:
on lightning strike:
  create a fake explosion at event-location
  loop blocks in radius 3 around event-location:
    set loop-block to air
  broadcast "Yıldırım %event-location% konumuna düştü!"

dener misiniz çalışmaz ise
  • SkUnity
  • SkBee
    kurun tekrar deneyin
 
Kod:
on lightning strike:
  create a fake explosion at event-location
  loop blocks in radius 3 around event-location:
    set loop-block to air
  broadcast "Yıldırım %event-location% konumuna düştü!"

dener misiniz çalışmaz ise
  • SkUnity
  • SkBee
    kurun tekrar deneyin
SkUnity? :grinning:
+ bu skript arkadaşta çalışmayacaktır çünkü o sürümde on lightning'de event-location yok. Sadece manuel olarak yapılabilir
 
JavaScript:
options:
  use-new-line-character: true

on lightning strike:
    set {_loc} to the hit location of the event
    set {_x} to x coordinate of {_loc}
    set {_y} to y coordinate of {_loc}
    set {_z} to z coordinate of {_loc}

    loop {_i} from -3 to 3:
        loop {_j} from -3 to 3:
            loop {_k} from -3 to 3:
                set {_target} to block at {_x} + {_i}, {_y} + {_j}, {_z} + {_k}
                delete {_target}

Bu işinizi görecektir diye tahmin ediyorum
 

Değerli ziyaretçimiz, içeriği görebilmek için şimdi giriş yapın veya kayıt olun.
Sürümü gerekir.​


Kod:
on lightning:
    create an explosion of force 10 at location of event-entity

10 yazan yer patlamanın şiddetini belirler.

Patterns:
[on] lightning [strike]
[(create|make)] [an] explosion (of|with) (force|strength|power) %number% [%directions% %locations%] [(with fire)]
 
Kod:
on lightning strike:
  set {_location} to location of event-entity
  loop 3 times:
    loop 3 times:
      set {_block} to block at {_location}
      if {_block} is not air:
        break {_block}
      add 1 to {_location}'s x
    add 1 to {_location}'s z
    set {_location}'s x to {_location}'s x - 3
  broadcast "&7Yıldırım düştü! Koordinatlar: &a{x} &e{y} &c{z}"

bunuda bir deneyin
 
Arkadaşlar hiçbir skript olmadı galiba skript versiyonumda sorun var konu kilit
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst