IRONFRONT FANS FORUM
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #1 
I'd like to do that only Germans can see a marker on the map.
How can i do ?

__________________
0
Tayuk

Avatar / Picture

RM Team
Registered:
Posts: 456
Reply with quote  #2 
I found these threads on this subject, they may point you in the right direction:-

http://www.armaholic.com/forums.php?m=posts&q=3872

http://forums.bistudio.com/showthread.php?169458-Randomly-spawn-marker-in-certain-area-with-only-visible-local-to-specific-side-JIP

If you figure it out fully could you explain it here?

Thanks

Tayuk
0
BRS

Captain
Registered:
Posts: 197
Reply with quote  #3 
from http://forums.bistudio.com/showthread.php?161916-Side-marker-visibility post #9

Quote:
Place your 4 empty markers, svc1 through svc4 where you want the spots to be, then this in your init.sqf:

if (side player == bluforthen {
    
_mkrBsvc createMarkerLocal ["mkrBsvc"getMarkerPos "svc1"];
    
_mkrBsvc setMarkerColorLocal "ColorBlufor";
    
_mkrBsvc setMarkerShapeLocal "ICON";
    
_mkrBsvc setMarkerTypeLocal "b_service";
    
_mkrBsvc setMarkerTextLocal " - Ground Service";
    
    
_mkrBair createMarkerLocal ["mkrBair"getMarkerPos "svc2"];
    
_mkrBair setMarkerColorLocal "ColorBlufor";
    
_mkrBair setMarkerShapeLocal "ICON";
    
_mkrBair setMarkerTypeLocal "b_air";
    
_mkrBair setMarkerTextLocal " - Air Service";
} else {
    
_mkrOsvc createMarkerLocal ["mkrOair"getMarkerPos "svc3"];
    
_mkrOsvc setMarkerColorLocal "ColorOpfor";
    
_mkrOsvc setMarkerShapeLocal "ICON";
    
_mkrOsvc setMarkerTypeLocal "o_service";
    
_mkrOsvc setMarkerTextLocal " - Ground Service";
    
    
    
_mkrOair createMarkerLocal ["mkrOsvc"getMarkerPos "svc4"];
    
_mkrOair setMarkerColorLocal "ColorOpfor";
    
_mkrOair setMarkerShapeLocal "ICON";
    
_mkrOair setMarkerTypeLocal "o_air";
    
_mkrOair setMarkerTextLocal " - Air Service";
}; 


As far as I understand the above, the trick seems to insert named -'placeholder' marker- at positions you want them, first.
Then, inside the -mission init file- ,they are changed to the sides you want to see them in game.
0
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #4 
I will look for this wednesday i think.
Thank's Tayuk and BS. [smile]

__________________
0
Joarius

Avatar / Picture

IFR Team
Registered:
Posts: 290
Reply with quote  #5 
After watching the propositions that you have posted, and asked to FleePee of the OTEA (French creator of Operation Blind Falcon -I44_Omaha_v2-), i have used this simple method (for a simple man as me... [biggrin] ) :
- Place a marker that you want to use (with all the wanted parameters : Colour, Text, size) and give it a name (by example : GER_Briefing_SQUADS).
- Place 2 triggers :
=> 1st trigger (GER_Briefing_SQUADS_SOV):
    Condition :
    local player and (side player == east);
    Sur-act :
    "GER_Briefing_SQUADS" setMarkerTypeLocal "empty";
=> 2nd trigger (GER_Briefing_SQUADS_GER):
    Condition :
    local player and (side player == west);
    Sur-act :
    "GER_Briefing_SQUADS" setMarkerTypeLocal "hd_dot";
The soviet players won't see the marker (1st trigger), but the german players will see the markers (2nd trigger).


It's similar to the method that BS shows in the #3 post, but i don't use a script or a similar thing, and for me, it's easier (i'm not comfortable with script).
Thank's for your help : it allowed me to still understand better. [wink]

__________________
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.