Home   Help Search Login Register  

Author Topic: start the player with NVG on? (solved)  (Read 1522 times)

0 Members and 1 Guest are viewing this topic.

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
start the player with NVG on? (solved)
« on: 16 Nov 2008, 06:48:26 »
yup.. as the title suggest...

at the beginning of the game, i'd like to start the player with his/her nightvision on...any ideas how?

 :)
« Last Edit: 16 Nov 2008, 16:59:23 by loki72 »

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: start the player with NVG on?
« Reply #1 on: 16 Nov 2008, 12:22:35 »
You may try:
Code: [Select]
camUseNVG true;

Offline UH60MG

  • Members
  • *
Re: start the player with NVG on?
« Reply #2 on: 16 Nov 2008, 14:00:42 »
player action ["NVGOGGLES",player]

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: start the player with NVG on?
« Reply #3 on: 16 Nov 2008, 16:52:33 »
i tried them both from the init.sqf and the units init...

no joy....

Offline i0n0s

  • Former Staff
  • ****
Re: start the player with NVG on?
« Reply #4 on: 16 Nov 2008, 16:54:57 »
The second one works.
Remember my mission? There it was that code to start the night vision.
There is only one important point:
That code has to be executed at the time the mission has the started and the initialisation of the player is finished.

Offline loki72

  • Former Staff
  • ****
    • Loki's Nightmare
Re: start the player with NVG on?
« Reply #5 on: 16 Nov 2008, 16:59:00 »
 :blink: :whistle:
i'm such a noob.. forgot i removed all weapons from a differnt script.. put the code in the para script.. all is well.

thank you all!

 :D