Is there something like GetPlayspace.GetPlayers() available in SceneGraph? Using the previous code generates this error:
This function parameter expects a value of type tuple(creative_object_interface,tuple(),tuple()), but this argument is an incompatible value of type tuple(YLookAt,tuple(),tuple()).
var Players : []player = array{}
var Playspace :? fort_playspace = false
OnBeginSimulation<override>():void =
#Use this to set up TickEvent callbacks or other setup that must be guaranteed to complete immediately.
(super:)OnBeginSimulation()
set Playspace = option { Entity.GetPlayspaceForEntity[] }
if(PS := Playspace?):
set Players = PS.GetPlayers()