Topic was automatically imported from the old Question2Answer platform.
Asked By
Dudedude123
I’m making a cycling system to make the player holding the ball the current player
Globals
var player = preload("res://TestPlayer.tscn")
Team
var has_ball
# Called when the node enters the scene tree for the first time.
func _ready():
if offense:
if player = has_ball(true):
current_player
Globals.players =
{
var frontcourt,
var backcourt,
var center
}