Results 1 to 5 of 5

Thread: Start here or here or here

  1. #1
    I've got a map and tehre is enemy around the place and I have my guy starting in placement radius...however, sometimes he starts off in the middle of the enemy group, how can I make a start here, or here, or here thing and not random anywhere?
    Thanks

  2. #2
    try a random script

    liek this

    put in some game logics where the dude might possibly appaer

    tehn create a random script (better ask a better scripter tehn me ) which randomyl picsk one of these logics and puts the player to teh logic

  3. #3
    Warrant Officer
    Join Date
    Aug 15 2003
    Location
    West Suffield, Connecticut, USA
    Posts
    2,102
    Put three game logics on the map (On land, please ). Name them rppos1, rppos2, and rppos3. Now make a little script:

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_a = &#91;rppos1,rppos2,rppos3&#93;
    _r = random 3
    ?&#40;_r &#60;= 1&#41;&#58; _s = 0
    ?&#40;&#40;_r &#62; 1&#41; && &#40;_r &#60;= 2&#41;&#41;&#58; _s = 1
    ?&#40;&#40;_r &#62; 2&#41; && &#40;_r &#60;= 3&#41;&#41;&#58; _s = 2
    _p = _a select _s
    player setpos getpos _p
    exit[/QUOTE]




  4. #4
    Thanks

  5. #5
    Master Gunnery Sergeant
    Join Date
    Jul 15 2003
    Location
    Belgium, the land of surialism
    Posts
    1,003
    It&#39;s possible without a script.

    Place empty "markers" at the all places where you want to start the mission. Now group every marker with the player. It&#39;s a bit tricky because you have to work with invisible markers...

    That&#39;s all, you will start randomly at one of those markers, simple as that.

    BIS &#39;ve used this method in the official paintball Malden MP mission.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •