Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RandInt ?!
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#10
RE: RandInt ?!

Having: Area1, Area2, Area3... 5:

PHP Code: (Select All)
int n RandInt(1,5);
TeleportPlayer"Area"+); 

That basic idea can be applied to similar situations like you mention.

Note: To teleport the player, the area must be a StartLocation type.

Or use SetPlayerPos

(This post was last modified: 07-07-2015, 08:30 PM by Daemian.)
07-07-2015, 08:29 PM
Find


Messages In This Thread
RandInt ?! - by Amnesiaplayer - 07-05-2015, 08:01 PM
RE: MudBox Export Issue - by Traggey - 07-05-2015, 09:35 PM
RE: MudBox Export Issue - by Amnesiaplayer - 07-05-2015, 09:46 PM
RE: MudBox Export Issue - by Traggey - 07-05-2015, 10:00 PM
RE: MudBox Export Issue - by Amnesiaplayer - 07-05-2015, 10:04 PM
RE: MudBox Export Issue - by Traggey - 07-05-2015, 10:06 PM
RE: MudBox Export Issue - by Amnesiaplayer - 07-05-2015, 10:15 PM
RE: MudBox Export Issue - by Daemian - 07-06-2015, 01:38 PM
RE: MudBox Export Issue - by Amnesiaplayer - 07-06-2015, 01:59 PM
RE: RandInt ?! - by Daemian - 07-07-2015, 08:29 PM
RE: RandInt ?! - by Amnesiaplayer - 07-08-2015, 09:14 PM
RE: RandInt ?! - by Rahmerh - 07-08-2015, 09:16 PM
RE: RandInt ?! - by DnALANGE - 07-08-2015, 09:17 PM
RE: RandInt ?! - by Amnesiaplayer - 07-08-2015, 09:42 PM
RE: RandInt ?! - by Romulator - 07-08-2015, 10:25 PM
RE: RandInt ?! - by Amnesiaplayer - 07-08-2015, 10:33 PM
RE: RandInt ?! - by Romulator - 07-08-2015, 10:39 PM
RE: RandInt ?! - by Amnesiaplayer - 07-08-2015, 10:44 PM
RE: RandInt ?! - by Mudbill - 07-09-2015, 12:54 PM



Users browsing this thread: 1 Guest(s)