Jump to content

Lolnut

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Lolnut

  • Rank
    Newbie
  1. Hello everybody, my first post...I can't seem to figure out what is going on in my script. It will run up until it gets to the switch statement. It'll still remove all of the items and weapons from my character and display the hint _theRole but it stops there it doesn't even jump over the switch statement and display hint "teh hcek?"...Any ideas because I just can't figure it out... handle = [this, "AT1"] execVM "OpSTD01Init.sqf"; I put this into the Init of the player or other units I want. _theGuy = _this select 0; _theRole = _this select 1; removeAllItems _theGuy; removeAllWeapons _theGuy; hint _theRole; switch(_theRole) do { case "AT1": { _theGuy addWeapon "NVGoggles"; _theGuy addMagazine "30rnd_65x39_caseless_mag"; _theGuy addMagazine "16rnd_9x21_mag"; _theGuy addMagazine "RPG32_F"; _theGuy addWeapon "arifle_MXC_F"; _theGuy addWeapon "hgun_PO7_F"; _theGuy addWeapon "M_RPG32_F"; _theGuy addMagazines ["30rnd_65x39_caseless_mag", 9]; _theGuy addWeapon "NVGoggles"; _theGuy addMagazines ["16rnd_9x21_mag, 2]; hint _theRole; }; default { hint "lolz wut"; }; }; hint "teh hcek?"; I'm dumb struck, if you need more info leme know.
×