
ghost901
Joined: Mar 4, 2010
|
Posted: Jun 13, 2010 08:00 PM
Msg. 1 of 7
I'm trying to script a vehicle teleporter, everything is done but the damn script, that sapiens keeps bi*ching Anyway can somebody tell me whats wrong with it? (script continuous "tele" (if (volume_test_object "Enter" "chog" ) (object_teleport "chog" "Exit" ) ) (volume_test_object "Enter" "chog2" ) (object_teleport "chog2" "Exit" ) ) (volume_test_object "Enter" "chog3" ) (object_teleport "chog3" "Exit" ) ) (volume_test_object "Enter" "chog4" ) (object_teleport "chog4" "Exit" ) ) (volume_test_object "Enter" "chog5" ) (object_teleport "chog5" "Exit" ) ) (volume_test_object "Enter" "chog6" ) (object_teleport "chog6" "Exit" ) ) )
|
|
|

Hydrogen
Joined: Dec 6, 2009
Wort Wort Wort...
|
Posted: Jun 13, 2010 08:34 PM
Msg. 2 of 7
take away the " from all that then compile scripts
|
|
|

ghost901
Joined: Mar 4, 2010
|
Posted: Jun 13, 2010 08:46 PM
Msg. 3 of 7
Didn't work 
|
|
|

DarkHalo003
Joined: Mar 10, 2008
All ARs Need Green Little Buttons.
|
Posted: Jun 13, 2010 09:43 PM
Msg. 4 of 7
Remove the one of the last parenthesis from the bottom.
What does debug say with the script?
|
|
|

ghost901
Joined: Mar 4, 2010
|
Posted: Jun 13, 2010 09:53 PM
Msg. 5 of 7
06.13.10 19:44:42 a hobo pc 01.01.00.0609 ---------------------------------------------- 06.13.10 19:44:42 reference function: _write_to_error_file 06.13.10 19:44:42 reference address: 401b13 06.13.10 19:44:42 Couldn't read map file './a_hobobeta.map' 06.13.10 19:44:42 CreateDevice succeeded with refresh rate = 0 06.13.10 19:44:44 Increasing sound decompression buffer size to 1048576 bytes 06.13.10 19:44:52 WARNING: 14 clusters in structure_bsp levels\test\someplace\someplace have no background sound or sound environment. 06.13.10 19:44:53 local player 0, weapon (0x0), deleted unexpectedly 06.13.10 19:44:53 ### ERROR too many lens flares submitted to frame 06.13.10 19:44:56 [tele line 9] i expected "script" or "global".: volume_test_object Enter chog3 )
06.13.10 19:44:56 recompiling scripts after scenarios were merged. 06.13.10 19:44:56 i expected "script" or "global".: volume_test_object Enter chog3 )
|
|
|

Noobyourmom
Joined: Mar 23, 2010
|
Posted: Jun 13, 2010 10:55 PM
Msg. 6 of 7
You've only go one IF statement. You need an IF for every different chog thing.
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Jun 14, 2010 12:35 AM
Msg. 7 of 7
Quote: --- Original message by: Noobyourmom You've only go one IF statement. You need an IF for every different chog thing. This.
|
|
|