Jump to content

_HXPE

Member
  • Content Count

    13
  • Joined

  • Last visited

  • Medals

Community Reputation

2 Neutral

About _HXPE

  • Rank
    Private First Class
  1. @Harzach, managed to delete bag after a given amount of time, but it stays there until someone tries to pick it up..
  2. @Harzach You really have gone above and beyond, I really appreciate all the help from everyone, thank you a lot, really! 😁 I’m keen to check this out when I get home from work. Thank you once again
  3. @ZaellixA definitely will today, ran out of time yesterday to load up arma
  4. @ZaellixA I was thinking I could probably do it with an array and call the randomSelect command, then just createVehicle command for whatever item the ramdomSelect lands on, I’d have to define variables for that tho wouldn’t I?
  5. @Joe98 would it be possible to have the items invisible until the number is rolled and then just set them visible?
  6. @ZaellixA so on the object (a bag) init I have this this addAction ["Roll For Items", "RollForItems.sqf"]; how would I make that a remoteExec
  7. @Harzach Tested it out with just a floor of 2, doesn't seem to do anything, do I need to specify "_i" as anything?
  8. @Harzach thank you! 😀 I was just looking to place them on the ground near the player anyway instead of just straight into the inventory.
  9. @ZaellixA I could narrow it down, but I'm making a sort of dnd style mission for some friends to play on, so I want there to be 20 random number choices like rolling a D20.
  10. Just joined the forum, hoping someone is able to shed a little light on what I could do to make this work. the hints are the items I would like to spawn depending on what random number the player gets. Thank you in advance. ☺️ A lot of the hints were just for debug purposes. hint "rolling for items"; sleep 3; hintSilent ""; switch (floor random 21) do { case 0: { hint "You fail terribly and find nothing.. You really do suck."; sleep 3; hintSilent ""; }; case 1: { hint "You Find Nothing!"; sleep 3; hintSilent ""; }; case 2: { hint "You Find Nothing!"; sleep 3; hintSilent ""; }; case 3: { hint "You Find Nothing!"; sleep 3; hintSilent ""; }; case 4: { hint "You Find Nothing!"; sleep 3; hintSilent ""; }; case 5: { hint "You Find a couple MRE's!"; sleep 3; hintSilent ""; }; case 6: { hint "You Find a couple MRE's!"; sleep 3; hintSilent ""; }; case 7: { hint "You Find a couple MRE's!"; sleep 3; hintSilent ""; }; case 8: { hint "You Find a couple MRE's!"; sleep 3; hintSilent ""; }; case 9: { hint "You Find a couple MRE's! & water!"; sleep 3; hintSilent ""; }; case 10: { hint "You Find a couple MRE's! & water!"; sleep 3; hintSilent ""; }; case 11: { hint "You Find a couple MRE's! & water!!"; sleep 3; hintSilent ""; }; case 12: { hint "You Find a few MRE's & water!"; sleep 3; hintSilent ""; }; case 13: { hint "You Find a few MRE's & water!"; sleep 3; hintSilent ""; }; case 14: { hint "You Find a few MRE's & water!"; sleep 3; hintSilent ""; }; case 15: { hint "You Find a few MRE's & water!"; sleep 3; hintSilent ""; }; case 16: { hint "You Find alot of MRE's & water!"; sleep 3; hintSilent ""; }; case 17: { hint "You Find alot of MRE's & water!"; sleep 3; hintSilent ""; }; case 18: { hint "You Find 1 month worth of MRE's & water!"; sleep 3; hintSilent ""; }; case 19: { hint "You Find 2 months worth of MRE's & water!"; sleep 3; hintSilent ""; }; case 20: { hint "You Find 3 months worth of MRE's & water!"; sleep 3; hintSilent ""; }; };
×