A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE Technical / Map Design »Script compiling problem

Author Topic: Script compiling problem (2 messages, Page 1 of 1)
Moderators: Dennis

1337
Joined: Dec 2, 2011

Don't be daft. wrap your shaft


Posted: Jul 9, 2012 05:25 AM    Msg. 1 of 2       
OK well whenever I compile scripts in sapien, I seem to get an error:

Didnt write to sapien, but it was: This left parenthesis is unmatched: (script continuous sprint_turn_on0

Here is the whole script

(global boolean sprint_on0 false)

(global short sprint_cooldown0 120)

(script static unit player0
(unit (list_get (players) 0))
)

(script continuous sprint_turn_on0
(sleep_until (= (unit_get_current_flashlight_state (player0)) 1))
(unit_set_desired_flashlight_state (player0) 0)
(sleep_until (= sprint_cooldown0 0) 1)
(set sprint_on0 true)
(unit_set_seat (unit (list_get (players) 0)) ready)
(sleep_until (= (unit_get_current_flashlight_state (player0) 1) 1))
(set sprint_on0 false)
(unit_set_desired_flashlight_state (unit (list_get (players) 0)) 0)
)

(script continuous sprint_player_off0
(sleep_until (= sprint_on0 false) 1)
(unit_set_seat (unit (list_get (players) 0)) zomghaxlolz)
(global boolean sprint_on0 false)
(unit_set_desired_flashlight_state (unit (list_get (players) 0)) 0)
)


I checked it and it is matched, but when I attempt to compile using tool I get this error

07.09.12 19:12:48  tool pc 01.00.00.0609 ----------------------------------------------
07.09.12 19:12:48 reference function: _write_to_error_file
07.09.12 19:12:48 reference address: 42ca20
07.09.12 19:12:48 Couldn't read map file './toolbeta.map'
07.09.12 19:12:48 tag data 'hs_syntax_data_definition' too large.
07.09.12 19:12:48 failed to load scenario tag 'levels\test\beavercreek\SPRINTTEST'
07.09.12 19:12:48 tag data 'hs_syntax_data_definition' too large.
07.09.12 19:12:48 failed to load scenario tag 'levels\test\beavercreek\SPRINTTEST'
07.09.12 19:12:48 need to get the following tags:
07.09.12 19:12:48


Help would be appreciated!
Edited by 1337 on Jul 9, 2012 at 05:26 AM


kirby_422
Joined: Jan 22, 2006

Apparently public enemy number 1?


Posted: Jul 9, 2012 12:49 PM    Msg. 2 of 2       
you compiled the script in OS Sapien, so you have to compile the scenario with OStool.

Also, what issue did you get before the unmatched parenthesis? they are matched, so that means you encountered a different error before it stated that (im to lazy to read, its the morning)

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 10:28 AM 94 ms.
A Halo Maps Website