Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
start the player with NVG on? (solved)
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: start the player with NVG on? (solved) (Read 1522 times)
0 Members and 1 Guest are viewing this topic.
loki72
Former Staff
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
»
Logged
Mandoble
Former Staff
Re: start the player with NVG on?
«
Reply #1 on:
16 Nov 2008, 12:22:35 »
You may try:
Code:
[Select]
camUseNVG true;
Logged
The Triple Blow
|
ArmA Videos
|
Mando Missile ArmA
UH60MG
Members
Re: start the player with NVG on?
«
Reply #2 on:
16 Nov 2008, 14:00:42 »
player action ["NVGOGGLES",player]
Logged
loki72
Former Staff
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....
Logged
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.
Logged
loki72
Former Staff
Re: start the player with NVG on?
«
Reply #5 on:
16 Nov 2008, 16:59:00 »
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!
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
ArmA - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
) »
start the player with NVG on? (solved)
Top of page