Results 1 to 2 of 2

Thread: Teleporting players out of an area

  1. #1

    Teleporting players out of an area

    Hi,

    I been working on my TLR server for a VIP donators shop

    I have everything set except for teleporting non donators out of the area

    I already have them as donator7

    so I'm trying to add the command and i tried it like this


    Code:
    a=100;
    			b=100;
    			angle=29.750601;
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			expCond="this && vehicle player in thislist && !((getPlayerUID vehicle player) in donator7) && (getPos vehicle player select 2) < 10;";
    			expActiv="vehicle player setDir 225;vehicle player setVelocity [0, 0, 0]; vehicle player setpos (getmarkerpos ""civarea""); hint ""Donate $10 or more for VIP access!"";";
    and it isn't working


    I would be thankful if you can help me

  2. #2
    Update*

    I have tried this

    first set the donators shop place

    Code:
    class Item186
    		{
    			position[]={2845.6724,70.028252,9776.9541};
    			name="vipareaname";
    			text="VIP DONATORS SHOP";
    			type="mil_warning";
    			colorName="ColorOrange";
    			a=0.60000002;
    			b=0.60000002;
    		};
    then the teleporting thing
    Code:
    class Item39
    		{
    	     	position[]={2845.6724,70.028252,9776.9541};
    			a=30;
    			b=30;
    			angle=129.856;
    			activationBy="ANY";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			expCond="this && vehicle player in thislist && !((getPlayerUID vehicle player) in donatorlevel4) && !((getPlayerUID vehicle player) in adminlevel4) && (getPos vehicle player select 2) < 10;";
    			expActiv="vehicle player setDir 225;vehicle player setVelocity [0, 0, 0]; vehicle player setpos (getmarkerpos ""notvip""); hint ""Donate >$10 for VIP access!"";";
    			class Effects
    			{
    			};
    		};
    then the notvip position (where they get teleported to)
    Code:
    	class Item350
    		{
    			position[]={4415.4849,77.724304,19493.969};
    			name="notvip";
    			type="Empty";
    		};
    the problem is, nothing is happening as if I was a donator getting in

Similar Threads

  1. Teleporting JIP players to where the action is
    By SpecOp9 in forum ARMA 3 - ALPHA: MISSION EDITING & SCRIPTING
    Replies: 6
    Last Post: Mar 14 2013, 09:43
  2. Trigger when all living players are in an area?
    By TacoTuesday in forum ARMA 3 - ALPHA: MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Mar 10 2013, 23:33
  3. Gathering players in an area
    By Kettlewell in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 1
    Last Post: Jan 16 2013, 23:47
  4. How do I kill players that leave an area?
    By bartkusa in forum ARMA 2 & OA : MISSIONS - Editing & Scripting
    Replies: 10
    Last Post: Feb 22 2010, 12:22
  5. Counting players in a marker area
    By Binary in forum ARMA - MISSION EDITING & SCRIPTING
    Replies: 2
    Last Post: Mar 11 2008, 06:57

Posting Permissions

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