I'm trying to test out health regeneration, and I used the script from H3 foundry, however it is giving me an error, and I obtained it from the map itself using "Halo Script Extractor, by Skarma"
Here is the script:
(global short plyrnum 0)
(global real regen_amount 10.00)
(script static unit player
(begin
(unit
(list_get
(players) plyrnum))))
(script continuous void condensed
(begin
(sleep 2)
(if
(and
(>=
(unit_get_shield condensed) 1.00)
(<
(unit_get_health condensed) 1.00))
(unit_set_current_vitality condensed
(+
(*
(unit_get_health condensed) 75.00) regen_amount)
(*
(unit_get_shield condensed) 75.00)))))
and here is the error
08.08.16 21:40:33 sapien pc 01.00.09.0620 ----------------------------------------------
08.08.16 21:40:33 reference function: _write_to_error_file
08.08.16 21:40:33 reference address: 401b13
08.08.16 21:40:33 CreateDevice succeeded with refresh rate = 0
08.08.16 21:40:33 Sound card doesn't meet minimum hardware requirements. Disabling hardware option.
08.08.16 21:40:34 Increasing sound decompression buffer size to 1048576 bytes
08.08.16 21:40:34 recompiling scripts after scenarios were merged.
08.08.16 21:40:34 this left parenthesis is unmatched.: (script continuous void condensed
And from what I can tell, the parenthesis is NOT unmatched, but I may be wrong, can anyone tell me what I am doing wrong here?