Quote: --- Original message by: MatthewDratt
10.31.10 21:51:18 sapien pc 01.00.00.0609 ----------------------------------------------
10.31.10 21:51:18 reference function: _write_to_error_file
10.31.10 21:51:18 reference address: 401b13
10.31.10 21:51:18 Couldn't read map file './sapienbeta.map'
10.31.10 21:51:19 CreateDevice succeeded with refresh rate = 0
10.31.10 21:51:19 DirectInput: 'Acquire (keyboard)' returned (DIERR_OTHERAPPHASPRIO#-2147024891)
10.31.10 21:51:19 Sound card doesn't meet minimum hardware requirements. Disabling hardware option.
10.31.10 21:51:20 Increasing sound decompression buffer size to 1048576 bytes
10.31.10 21:51:24 WARNING: 1 clusters in structure_bsp levels\d40\d40_space have no background sound or sound environment.
10.31.10 21:51:24 cinematics\effects\teleportation\teleportation: this is not a reference to a effect tag.
10.31.10 21:51:25 local player 0, weapon (0x0), deleted unexpectedly
10.31.10 21:51:31 i expected a script or variable definition.: ÿþ(
10.31.10 21:51:31 recompiling scripts after scenarios were merged.
10.31.10 21:51:31 i expected a script or variable definition.: ÿþ(
You have two scripts with the same name "vb("
was referenced twice therefore it could not compile (cannot do two functions that have the identical name) they can have the same script, function and refrence to objects but the name must be different.
"What the hell are you talking about Ender...?"
Example:
(script continuous
vehicle_tele15(if (= (volume_test_object tele5 frg) true)
(object_teleport frg tele5_exit)
(if (= (volume_test_object tele5 frg2) true)
(object_teleport frg2 tele5_exit)
(if (= (volume_test_object tele5 frg4) true)
(object_teleport frg4 tele5_exit)
(if (= (volume_test_object tele5 frg5) true)
(object_teleport frg5 tele5_exit)
(if (= (volume_test_object tele5 frg6) true)
(object_teleport frg6 tele5_exit)
(if (= (volume_test_object tele5 frg7) true)
(object_teleport frg7 tele5_exit)
(if (= (volume_test_object tele5 frg8) true)
(object_teleport frg8 tele5_exit)
(if (= (volume_test_object tele5 frg9) true)
(object_teleport frg9 tele5_exit)
(if (= (volume_test_object tele5 frg10) true)
(object_teleport frg10 tele5_exit)
(if (= (volume_test_object tele5 frg11) true)
(object_teleport frg11 tele5_exit)
(if (= (volume_test_object tele5 frg12) true)
(object_teleport frg12 tele5_exit)
)
)
)
)
)
)
)
)
)
)
)
)
(script continuous
vehicle_tele15(if (= (volume_test_object tele5 frg) true)
(object_teleport frg tele5_exit)
(if (= (volume_test_object tele5 frg2) true)
(object_teleport frg2 tele5_exit)
(if (= (volume_test_object tele5 frg4) true)
(object_teleport frg4 tele5_exit)
(if (= (volume_test_object tele5 frg5) true)
(object_teleport frg5 tele5_exit)
(if (= (volume_test_object tele5 frg6) true)
(object_teleport frg6 tele5_exit)
(if (= (volume_test_object tele5 frg7) true)
(object_teleport frg7 tele5_exit)
(if (= (volume_test_object tele5 frg8) true)
(object_teleport frg8 tele5_exit)
(if (= (volume_test_object tele5 frg9) true)
(object_teleport frg9 tele5_exit)
(if (= (volume_test_object tele5 frg10) true)
(object_teleport frg10 tele5_exit)
(if (= (volume_test_object tele5 frg11) true)
(object_teleport frg11 tele5_exit)
(if (= (volume_test_object tele5 frg12) true)
(object_teleport frg12 tele5_exit)
)
)
)
)
)
)
)
)
)
)
)
)
the above script would not compile if you tried it. The bolded parts must be different (script name)
Edited by DA_Ender on Oct 31, 2010 at 11:51 PM