Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
6 lines
99 B
GDScript
6 lines
99 B
GDScript
var list: Array
|
|
|
|
func spawn_npc() -> void:
|
|
var scene: PackedScene = list.pick_random()
|
|
scene.➡
|