Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
stingfish74

need help - TeamSwitch.sqf and teamswitchcamera.sq

Recommended Posts

hey guys.

im working on a little mod and need some help on one point, as i am stumped.

goal: i want the unit to be in third person when cycling through units using teamswitch.

looking in the ui pbo, i found what looks like the .sgf for both teamswitch and for teamswitchcamera.

the problem is i can't locate the code that tells it to switch to 1st person.

can you help?

path: \ca\ui\scripts\TeamSwitch.sqf"; and teamswitchcamera.sqf

Share this post


Link to post
Share on other sites

Wrong section.

Just use switchCamera (in particular switchcamera "external", of course) in conjunction with selectPlayer, and you should easily be able to "force" 3rd person view without messing with any default scripts. smile_o.gif

If you mean that -whenever- you press the default switch player button you'd like it to turn to 3rd person, you'll need to add a trigger or likewise that checks for player changes and then just use switchcamera.

And, obviously, if you want it to be useable globally, you'll need to create an addon, but that's a matter for yet another board.

Regards,

Wolfrug

Share this post


Link to post
Share on other sites

thanks, but i still cant figure it out. i would love to have a script that forces it but im not that great at writting scripts for arma sad_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×