Home   Help Search Login Register  

Author Topic: I travel the world and the seven seas  (Read 2916 times)

0 Members and 1 Guest are viewing this topic.

Offline mr_book.PXS.Pvt

  • Members
  • *
I travel the world and the seven seas
« on: 09 Feb 2013, 01:38:48 »
Hi,
so I put together this little script here
Code: [Select]
_con = configfile >> "cfgworlds" >> worldname >> "names";
_rnd = floor random (count _con-1);
_pos = getarray (_con select _rnd >> "position");
player setpos _pos;
which teleports you to a randomly selected town somewhere on the map, and now I have no idea what to do with it.
So I'm just giving it away. Feel free to use it anyway you like.
Cheers,
mr_book

Offline Lone~Wolf

  • Mission Tools & Mods
  • Members
  • *
  • Vladimir Dmitri Mikhail Andreevich Stamenov
Re: I travel the world and the seven seas
« Reply #1 on: 16 Jul 2013, 22:13:35 »
Woo! Very cool. Could be useful for a DayZ style thingy to spawn players in random towns.
Snarling creature, lurking in the background, still writing in .sqs