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 General Discussion »points system help please?

Author Topic: points system help please? (4 messages, Page 1 of 1)
Moderators: Dennis

d4rfnader
Joined: Jul 16, 2010

Open mouth, insert sandwhich.


Posted: Aug 22, 2010 11:02 PM    Msg. 1 of 4       
im working on implementing a points system but im stuck at the spawning and subtracting

here's the script:

(script dormant ar-spawn
(begin
(if (= seconds 2) (object_create ar))
(sleep_until (object_create ar))
(set seconds (- seconds 2))
)
)


and here's my debug when i try to compile the script:

08.22.10 22:00:11 sapien pc 01.00.00.0609 ----------------------------------------------
08.22.10 22:00:12 reference function: _write_to_error_file
08.22.10 22:00:12 reference address: 401b13
08.22.10 22:00:12 Couldn't read map file './sapienbeta.map'
08.22.10 22:00:12 CreateDevice succeeded with refresh rate = 0
08.22.10 22:00:14 Increasing sound decompression buffer size to 1048576 bytes
08.22.10 22:00:15 crosshair item 0 for halo3\hud\weapon interfaces\master\master rounds references an invalid sequence
08.22.10 22:00:25 crosshair item 1 for halo3\hud\weapon interfaces\sniper rifle\sniper rifle references an invalid sequence
08.22.10 22:00:25 crosshair item 1 for halo3\hud\weapon interfaces\sniper rifle\sniper rifle references an invalid sequence
08.22.10 22:00:45 recompiling scripts after scenarios were merged.
08.22.10 22:00:46 this left parenthesis is unmatched.: (script dormant ar-spawn

08.22.10 22:00:58 [Music Menu line 22] i expected a boolean, but this function returns a void.: (object_destroy ar))

08.22.10 22:00:58 recompiling scripts after scenarios were merged.
08.22.10 22:00:58 [Music Menu line 20] this left parenthesis is unmatched.: (begin


Gamma927
Joined: Jun 12, 2008

Steam: gamma927


Posted: Aug 22, 2010 11:06 PM    Msg. 2 of 4       
(object_create) and (object_destroy) are not boolean commands, meaning that they will not return true or false, which means that they cannot be used in a sleep_until conditional statement.


d4rfnader
Joined: Jul 16, 2010

Open mouth, insert sandwhich.


Posted: Aug 22, 2010 11:21 PM    Msg. 3 of 4       
yeah lol thanks for the help though, should i maybe use the (hud_get_timer_ticks) command?


Dennis

Joined: Jan 27, 2005

"We are made of starstuff.” ― Carl Sagan


Posted: Aug 23, 2010 12:12 AM    Msg. 4 of 4       
Quote: --- Original message by: l283023
OR YOU COULD ASK ELEPHANT, "DO YOU STILL HAVE THAT POINT SYSTEM FOR THAT FIREFIGHT MAP TEST THING THAT YOU DID?"
PLease stop posting in all capitals. It is impolite and akin to "SHOUTING".

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 9:19 PM 156 ms.
A Halo Maps Website