Jump to content

Luke Skywalker

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About Luke Skywalker

  • Rank
    Newbie
  1. Luke Skywalker

    All units executing a script

    make a sqs with the name alive.sqs and ride in this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">? !(local player) : exit #a _n = player @ not alive player _GW = weapons Player _MA = magazines Player _GW1 = count weapons Player _MA1 = count magazines Player @ alive player _t = "Body" CreateVehicle [0,0]; _t setpos getpos _n; _t setdir getdir _n; Player setdir getdir _n deletevehicle _n ~0.1 Removeallweapons Player _Z = 0 #ab Player addmagazine (_MA select _Z) _Z = _Z + 1 ?_Z > _MA1 : goto "aa" goto "ab" #aa _Z = 0 #aaa Player addweapon (_GW select _Z) _Z = _Z + 1 ?_Z > _GW1 : goto "ac" goto "aaa" #ac goto "a" in the init.sqs <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this exec "alive.sqs" and in the description.ext <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> respawn=2; respawndelay = 5; try and fun!
×