GolcuOsman
Kızıltaş Madencisi
- En iyi cevaplar
- 0
adam /random yazdığında rastgele şu konutlar yazacak:
-/warp event1
-/warp event2
-/warp event3
-/warp event1
-/warp event2
-/warp event3
command /random:
trigger:
chance of 34%:
execute console command "warp event1"
chance of 33%:
execute console command "warp event2"
chance of 33%:
execute console command "warp event3"
Event1 in çıkması daha yüksek cryDenemedim hata olabilir.
PHP:command /random: trigger: chance of 34%: execute console command "warp event1" chance of 33%: execute console command "warp event2" chance of 33%: execute console command "warp event3"
Yani ama çok çok çok çok çok küçüf bir olasılık. 100%'e tamamlamak için öyle yapmam mecburdu.Event1 in çıkması daha yüksek cry![]()
%100'e tamamlamaya gerek yok.Yani ama çok çok çok çok çok küçüf bir olasılık. 100%'e tamamlamak için öyle yapmam mecburdu.
"integer" yerine "number" olması daha doğru olmaz mı?Kod:command /random: trigger: execute player command "warp event%random integer between 1 and 3%"
Böyle de olur;Yani ama çok çok çok çok çok küçüf bir olasılık. 100%'e tamamlamak için öyle yapmam mecburdu.
command /random:
trigger:
chance of 33%:
execute player command "warp event1"
stop
chance of 33%:
execute player command "warp event2"
stop
chance of 33%:
execute player command "warp event3"
stop
execute player command "random"
Number olursa 1,56 de çıkar 2,63 de çıkar 0,78 de çıkar."integer" yerine "number" olması daha doğru olmaz mı?
doğruBöyle de olur;
Kod:command /random: trigger: chance of 33%: execute player command "warp event1" stop chance of 33%: execute player command "warp event2" stop chance of 33%: execute player command "warp event3" stop execute player command "random"
Number olursa 1,56 de çıkar 2,63 de çıkar 0,78 de çıkar.