Home   Help Search Login Register  

Author Topic: No 3rd Person When Your On Foot  (Read 1839 times)

0 Members and 1 Guest are viewing this topic.

CopyrightPhilly

  • Guest
No 3rd Person When Your On Foot
« on: 09 Sep 2004, 20:33:16 »
Scipt Type: MP
OFP Version: 1.46+ tested

Well You All Know The Problem That Some People Have When It Comes To Driving Without 3rd Person... So I Decided To MAke A Little Script That Will Stop People From Using 3rd Person When There On Foot But If There In A Vehicle Then It Will Alow Then To Use 3rd...

Scipt Usage, In The Units Init Put:
Code: [Select]
[] exec "no3rd.sqs"
Download the below scipt and place it in your mission folder

And thats it, no 3rd person when your on foot!

Let me know what your thoughts are on this.

cheers, Philly
« Last Edit: 10 Sep 2004, 22:16:14 by CopyrightPhilly »

DBR_ONIX

  • Guest
Re:No 3rd Person When Your On Foot
« Reply #1 on: 10 Sep 2004, 18:45:26 »
Looks good
Not tested yet, but looked at code
I take it you can't switch out of the view or anything?
- Ben

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:No 3rd Person When Your On Foot
« Reply #2 on: 10 Sep 2004, 18:47:46 »
Hmmm... Intresting. I haven't tried the script but I've looked at the code. Does this mean you can detect if the player has third, first or command view as well? If so, this is really cool.

:beat: *Gets Shot* :beat:

CopyrightPhilly

  • Guest
Re:No 3rd Person When Your On Foot
« Reply #3 on: 10 Sep 2004, 22:14:36 »
i'm just about to reupload this scipt..

all it dose is cheaks to see if the player is on foot or in a vehicle, if him/her is in a vehicle it will loop round untill they are out (#out)

if they are on foot then it will loop cheaking to see it they are in a vehicle and if not to set the camera to internal

what i'v changed:
i was using:
_unit=_this select 0
to detect the unit, this made one problem, if the code was used in mp on a unit that turns into AI (user quit) then it will make the camera for all the players inside that AI, so i changed the code so it now uses player insted of _unit

cheers, Philly
« Last Edit: 10 Sep 2004, 22:17:20 by CopyrightPhilly »

Commando

  • Guest
Re:No 3rd Person When Your On Foot
« Reply #4 on: 28 Sep 2004, 11:15:29 »
yeah i dislike servers that disables 3rd person view but this script seems to be nice, because for me 3rd person view is more important when inisde vehicles than when on foot,  maybe going to implement this to one of my lan mp missions and test with a friend or two later during the week  :)