Need help with scripting.


(Invultrois) #1

1game manager
2 {
3 spawn
4 {
5 remapshaderflush
6 wm_number_of_objectives 2
7 wm_axis_respawntime 5
8 wm_allied_respawntime 5
9 wm_set_round_timelimit 15
10 wm_set_defending_team 1
11 wm_setwinner 1
12 wait 500
13 setautospawn “Allied Spawn” 1
14 setautospawn “Axis Spawn” 0
15 }
16
17 trigger capture
18 {
19 wm_objective_status 2 0 1
20 wm_objective_status 2 1 2
21 wm_announce “Top Secret Documents Transmitted! Axis Win.”
22 wm_setwinner 0
23 wait 3000
24 wm_endround
25 }
26 }
27
28 the_dropzone
29 {
30 death
31 {
32 trigger game_manager capture
33 }
34 }
35
36 barricade
37 {
38 spawn
39 {
40 wait 200
41 constructible_class 3
42 }
43
44 death
45 {
46 wm_announce “The Axis have destroyed the ^8Allied Wooden Barricade”
47 }
48 }
This is my script, and i got G_Script_scriptparse (), error (line 47):’}’ expected, end of script found. Kinda new to scripting so any help would be appreciated. Danke. :slight_smile:


(Mateos) #2

There’s 8 { and 7 }, you forgot one; Please increment your code @@


(Mateos) #3

It’s game_manager, not game manager, at the top


(Invultrois) #4

Oh, what a careless mistake. xD Thanks for your help! :smiley: