Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
turn on/off
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: turn on/off (Read 716 times)
0 Members and 1 Guest are viewing this topic.
456820
Contributing Member
turn on/off
«
on:
03 May 2005, 15:54:10 »
hey
im wondering how to be given an option menu when the player is less that 1m away from an object as turn on and when its on give it the same option but turn ofd wich also turns music on and music off
Logged
ProudPotter2490
Guest
Re:turn on/off
«
Reply #1 on:
03 May 2005, 16:17:49 »
Hey 456820.
I've just had a thought. You could always define the music as a sound (ie: voices) and attach the
this say "myMusic"
command to the radio. Unsure of if it would work but I can't see why not unless empty objects can't talk
! Good luck!
ProudPotter2490 :afro:
Logged
macguba
Former Staff
Re:turn on/off
«
Reply #2 on:
03 May 2005, 16:21:58 »
Yes, that would work. Add the action to the radio, so it appears automatically in the player's action menu when he gets close enough.
Logged
Plenty of
reviewed ArmA missions
for you to play
456820
Contributing Member
Re:turn on/off
«
Reply #3 on:
03 May 2005, 16:32:36 »
what the line to detect if the player is less than 1m away from it
Logged
macguba
Former Staff
Re:turn on/off
«
Reply #4 on:
03 May 2005, 16:34:24 »
If you really do want it to be 1m then you need a trigger 2x2 player present.
Logged
Plenty of
reviewed ArmA missions
for you to play
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
turn on/off
Top of page