Jump to content

Alert23

Member
  • Content Count

    241
  • Joined

  • Last visited

  • Medals

Community Reputation

172 Excellent

1 Follower

About Alert23

  • Rank
    Staff Sergeant

Recent Profile Visitors

2101 profile views
  1. [] spawn { while {sleep 1;alive player} do { _nearestKart = nearestObjects [CheckPoint1, ["C_Kart_01_F"], 1000]; _1stRank = _nearestKart select 0; _2ndRank = _nearestKart select 1; _3rdRank = _nearestKart select 2; _4thRank = _nearestKart select 3; _5thRank = _nearestKart select 4; if (vehicle player == _1stRank) then { 1st = ["<img size='12' image='images\1stPlace.paa' shadow='0'/>",safeZoneX+0.7 * safezoneW,safeZoneY-0.05 * safezoneH,99999,0,0,220] spawn bis_fnc_dynamicText;}; if (vehicle player == _2ndRank) then { 2nd = ["<img size='12' image='images\2ndPlace.paa' shadow='0'/>",safeZoneX+0.7 * safezoneW,safeZoneY-0.05 * safezoneH,99999,0,0,220] spawn bis_fnc_dynamicText;}; if (vehicle player == _3rdRank) then { 3rd = ["<img size='12' image='images\3rdPlace.paa' shadow='0'/>",safeZoneX+0.7 * safezoneW,safeZoneY-0.05 * safezoneH,99999,0,0,220] spawn bis_fnc_dynamicText;}; if (vehicle player == _4thRank) then { 4th = ["<img size='12' image='images\4thPlace.paa' shadow='0'/>",safeZoneX+0.7 * safezoneW,safeZoneY-0.05 * safezoneH,99999,0,0,220] spawn bis_fnc_dynamicText;}; if (vehicle player == _5thRank) then { 5th = ["<img size='12' image='images\5thPlace.paa' shadow='0'/>",safeZoneX+0.7 * safezoneW,safeZoneY-0.05 * safezoneH,99999,0,0,220] spawn bis_fnc_dynamicText;}; }; }; this is my code which runs fine but i have encountered a problem my race track isent a straight track its a curvy race track so i need to add several CheckPoints, now how would i make it so that if the vehicle at 1stPlace gets to the first checkpoint that the script switches to the second checkpoint and searches from there on for the nearestObjects i.e nearest kart. this is the track:
  2. Sry guys for the missleading info i gave you, by ranking i dident mean the final ranking after race finish, i mean the ranking during the race, like displaying for each driver which place he actually is 1stPlace 2ndPlace 3rdPlace 4thPlace 5thPlace Like if a vehicle at 2ndPlace overtakes the vehicle at 1stPlace, it will display for vehicle2 that his ranking changed to 1stPlace, i think you understand me. I already managed this by using nearestObjects but my code needs some improvements. (I'll post the code later maybe some of you could help me with it)
  3. thank you everyone for you help and effort you put into this!
  4. Is it possible to send it to multiple targets at once but not for everyone? Would it be like this for example? if isServer then {["Civillians have reported a group of armed men spotted in the vicinity of Frini"] remoteExec ["hint", resistance,civilian,west ];}; But exclude east?
  5. No worries i have already managed to solve the lap counting, only missing thing now is the ranking
  6. Thanks for your effort, i'll try this later at home. Im trying to display a ranking for each driver i.e 1st - 5ft place and the race would have 6 laps. But thank you so far i need to test what you wrote first when im at home again. 👍
  7. So this would select the first player/vehicle who activated the trigger.. Lets say i have 5 karts and i want to know who activated the trigger first,second,third,fourth and fifth how would i set the condition for this? And how would i refer to the karts using thisList select 0 in a script? Thanks for any help 😃
  8. hi everyone, im creating a race mission and i want to display a ranking by checking who activated/entered a trigger first (multiple repeatable triggers acting as checkpoints). hopefully someone can help me with this.
  9. Two wishes 😃 1. Enable/Unhide drawIcon3D (optional) while showHud false is used. Like: showHUD [hud, info, radar, compass, direction, menu, group, cursors, panels, kills,drawIcon3D] 2. Add a comand: Restart Mission (SinglePlayer only, for missionmakers)
  10. Alert23

    Arma3 Videos

    https://streamable.com/73yxaj Mario Kart ( proof of concept)
  11. thank you for your reply, in sp it does work without any problem but the problem is if i execute the code as player it appears on my screen but im trying to make this image only appear for player2. The path is correct as far as i can see because its from a mission not from an addon.
  12. hello all, as the title says im trying to display an image to a specific player only and this is what i got so far: ['images\inkSplashOnScreen.paa',false, 5, 5, 1, 0] remoteExec ["BIS_fnc_textTiles",player2]; i want to display an image only to player2 , the code above dosent work as intended, hopefully someone can help me with this.
  13. Alert23

    Lock camera from menu

    is there also an ID for the Restart Button in the PauseMenu? i searched for it here but i cant find it, i wanted to disable restart button.
×