change sky_camera script V1
for when having only one sky_camera is not enough
A script for changing the sky_camera that a player sees
How to use:
Download
Then in Hammer add a logic_script with the name of the .nut file as the
Next give all sky_cameras a unique name (by default sky_cameras dont have a name keyvalue so you have to add it with smartedit off)
To call the scripts functions you do
The functions are:
setskycamera(
setdefaultcamera(
please report any bugs
How to use:
Download
change_sky_camera.nut
and put it in tf/scripts/vscriptsThen in Hammer add a logic_script with the name of the .nut file as the
Entity Scripts
keyvalue (dont forget to give the logic_script a targetname)Next give all sky_cameras a unique name (by default sky_cameras dont have a name keyvalue so you have to add it with smartedit off)
To call the scripts functions you do
**name of logic_script** || Runscriptcode || **name of function**(parameters)
The functions are:
setskycamera(
`targetname of the sky_camera`
,player (use activator if you are using a trigger)) sets the sky_camera of a specific playersetdefaultcamera(
`targetname of the sky camera`
) sets the sky camera of everyone and everyone who joins afterplease report any bugs
- License
- Credit is required. Permission to modify required.