Masterz1337
March 29th, 2008, 05:06 PM
Sapien says that aa_exterior_1d is not a valid script name.
(script dormant aa_interior_1
(sleep_until (volume_test_objects aa_exterior (players))15)
(object_set_permutation (unit (list_get (players) 0)) base inside-1)
(sleep 50)
(wake aa_exterior_1d)
)
(script dormant aa_exterior_1d
(sleep_until (volume_test_objects aa_exterior (players))15)
(object_set_permutation (unit (list_get (players) 0)) base base)
(sleep 50)
(wake aa_interior_1)
)
(script startup aa_exterior_1
(sleep_until (volume_test_objects aa_exterior (players))15)
(object_set_permutation (unit (list_get (players) 0)) base base)
(sleep 50)
(wake aa_interior_1)
)
The purpose of the script is when you enter an exterior area, the player will go through a trigger volume, and change the visor region to an exterior one, as well as wake a script that will let the visor switch back to interior when the player enters the interior again. That script will wake another dormant script, that will make the players visor once again switch to exteior, as well as wake the previous script so it goes in a loop.
Any ideas why it doenst work?
(script dormant aa_interior_1
(sleep_until (volume_test_objects aa_exterior (players))15)
(object_set_permutation (unit (list_get (players) 0)) base inside-1)
(sleep 50)
(wake aa_exterior_1d)
)
(script dormant aa_exterior_1d
(sleep_until (volume_test_objects aa_exterior (players))15)
(object_set_permutation (unit (list_get (players) 0)) base base)
(sleep 50)
(wake aa_interior_1)
)
(script startup aa_exterior_1
(sleep_until (volume_test_objects aa_exterior (players))15)
(object_set_permutation (unit (list_get (players) 0)) base base)
(sleep 50)
(wake aa_interior_1)
)
The purpose of the script is when you enter an exterior area, the player will go through a trigger volume, and change the visor region to an exterior one, as well as wake a script that will let the visor switch back to interior when the player enters the interior again. That script will wake another dormant script, that will make the players visor once again switch to exteior, as well as wake the previous script so it goes in a loop.
Any ideas why it doenst work?