aboutsummaryrefslogtreecommitdiff
path: root/bobthebob.testing/scripts/vscripts/mp/levels/mp_box.nut
diff options
context:
space:
mode:
Diffstat (limited to 'bobthebob.testing/scripts/vscripts/mp/levels/mp_box.nut')
-rw-r--r--bobthebob.testing/scripts/vscripts/mp/levels/mp_box.nut24
1 files changed, 24 insertions, 0 deletions
diff --git a/bobthebob.testing/scripts/vscripts/mp/levels/mp_box.nut b/bobthebob.testing/scripts/vscripts/mp/levels/mp_box.nut
new file mode 100644
index 00000000..aa94be52
--- /dev/null
+++ b/bobthebob.testing/scripts/vscripts/mp/levels/mp_box.nut
@@ -0,0 +1,24 @@
+/*global function CodeCallback_MapInit
+global function SpawnGamemodeObjects
+
+void function CodeCallback_MapInit()
+{
+ AddCallback_EntitiesDidLoad( SpawnGamemodeObjects )
+}
+
+void function SpawnGamemodeObjects()
+{
+ thread SpawnGamemodeObjects_Threaded()
+
+}
+
+void function SpawnGamemodeObjects_Threaded()
+{
+ WaitEndFrame()
+ entity liveFireFlagSpawn = CreateEntity( "script_ref" )
+ liveFireFlagSpawn.kv.editorclass = "info_speedball_flag"
+ liveFireFlagSpawn.kv.origin = < 0.0, -382.0, 60.0 >
+ liveFireFlagSpawn.kv.angles = < 0, 0, 0 >
+ DispatchSpawn( liveFireFlagSpawn )
+ liveFireFlagSpawn.kv.editorclass = "info_speedball_flag"
+}*/ \ No newline at end of file