Local? Global? Set? - Variables and Scope in kOS

Channel:
Subscribers:
25,800
Published on ● Video Link: https://www.youtube.com/watch?v=cH1gNIGg-RI



Kerbal Space Program
Category:
Tutorial
Duration: 14:42
7,870 views
182


Local and global variables are confusing in many languages. kOS can be a little tricky, as there are multiple ways to express the same idea, and you may find code examples that use different versions of the syntax. Here, we explain the difference between local and global variables, and talk about what set and parameter do. Be sure to stay tuned for future episodes as we make our way to the Mun!


This tutorial is running on KSP version 1.4.1, and kOS version 1.1.5.2.


READ THE FRIENDLY MANUAL

https://ksp-kos.github.io/KOS/



GRAB THE CURRENT SCRIPT

https://gist.github.com/gisikw/f11eb18edab644f8d759a74f001f6538



SUPPORT THIS SERIES

https://patreon.com/cheerskevin



GET THE KOS MOD

https://ksp-kos.github.io/KOS/downloads_links.html



DOWNLOAD KERBAL SPACE PROGRAM

https://kerbalspaceprogram.com/







Tags:
KSP
kOS
kerbal space program
Kerbal Space Program
KSP bindings
kos docs
scope
binding
variables
local variables
private variables
global variables
kos structures
objects
KSP Mods
how to use kos
kos tutorial
kos mod
getting started with kos
kos programming
documentation
ksp autopilot
CheersKevin
Kerbal
space
program
Kerman
coding
science
mission
tutorial
episode
guide
tips
tricks
Kerbin
gisikw
vs code
ckan
ksp
debugging
bugs
kos for newbies
launchpad
kerbal



Other Statistics

Kerbal Space Program Statistics For CheersKevin

Currently, CheersKevin has 385,920 views for Kerbal Space Program across 28 videos. The game makes up 11 hours of published video on his channel, roughly 7.39% of Kerbal Space Program content that CheersKevin has uploaded to YouTube.