Search the Community
Showing results for tags 'a3 wasteland'.
Found 1 result
-
Placing player side flags on vehicles as player enters a vehicle
Antman2o1o posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey folks, Ant here, looking for a little help... First off let me preface that I am in no way a fluent Arma or Arma Wasteland coder but try to come up with additional ways to enhance the game... so I try and dabble in it a bit. So that being said i have an issue that maybe someone from the community could help finalize my code or point me in the right direction. So here goes. I am trying to place a team colored flag on a vehicle, via script, per team side, for my Arma 3 Wasteland server. As everyone knows the team side color flags are: Blufor- "Blue", Opfor - "Red", and Independent "Green"..... It might be super cool to let their clan symbol show on the flag but not necessary. If I could get help to get the baseline flag set that would be great. Reason For Flags We tend to get a lot of first timers that have been showing up to the server, who get excited and try to kill anything that moves.....I am trying to cut down on the team killing from lock on AT Rockets from a distance, for same side folks driving down the road. The side color flag would be an additional visual reference point so they don't team kill somebody who has been working so hard to gather resources and a vehicle. So in stating that I am just looking for help or for a script that when a player enters a vehicle it attaches the team side color flag to the vehicle. Does anyone have a script that would put the driver's team flag Blue, Red or Green on the vehicle once they enter the vehicle and are driving? I tried this but this code below and it does not work at all. I may not even be in the ball park. All of the vehicles in wasteland are dynamically spawned via markers or purchases in a shop and are not placed down in the editor so need some sort of script to associate the players side faction to a colored flag that will attach to the vehicle. Code switch(playerSide) do { case west: { #include "carFlag setFlagTexture "\A3\Data_F\Flags\Flag_blue_CO.paa"; carFlag setFlagOwner driver this;" } case east: { #include "carFlag setFlagTexture "\A3\Data_F\Flags\Flag_red_CO.paa"; carFlag setFlagOwner driver this;" } } Any ideas suggestions highly appreciated