Dapor hat geschrieben:wenn du das möchtest einfach im edit script header die Variable erschaffen und dann wird er sie auch in jedem Raum kennen
Ne. Im script header sollte man keine Variablen definieren, höchstens Konstanten.
Wenn eine Variable global sein soll, erschafft man sie am Anfang des global scripts, exportiert sie dann und importiert sie im header.
Do NOT place any actual functions or variables in this header, because if you do you will need to re-compile ALL the scripts whenever you modify the function. Instead, place your functions in your global script and just place an import line in the header file to allow the other scripts to access it.
Ist nicht böse gemeint, Dapor, aber Tips von "halben" Profis stiften oft mehr Verwirrung, als dass sie wirklich helfen.