own spaces

thomas9999

New Member
Reaction score
0
hey im making a map and i want everyone to have their own spot so they can store their items or whatever but i dont know how to make it so purple for example has a circle that only purple can go into
also want to know how to make it so people cant blink into the places and stop item stealing
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
by "purple can go into" do you mean purple's hero or what?

in that case:
Trigger:
  • EnterTrigger
    • Events
      • A unit Enters TeleportRegion <gen>
    • Conditions
      • None
    • Actions
      • If (All Conditions are True) Then do (Actions) else do (Actions)
        • If - Conditions
          • Owner of (Entering Unit) Equal to Player 1 (Red)
        • Then - Actions
          • Unit - Move (Entering Unit) to RedRegion <gen>
        • Else - Actions
      • If (All Conditions are True) Then do (Actions) else do (Actions)
        • If - Conditions
          • Owner of (Entering Unit) Equal to Player 2 (Blue)
        • Then - Actions
          • Unit - Move (Entering Unit) to BlueRegion <gen>
        • Else - Actions
      • If (All Conditions are True) Then do (Actions) else do (Actions)
        • If - Conditions
          • Owner of (Entering Unit) Equal to Player 3 (Teal)
        • Then - Actions
          • Unit - Move (Entering Unit) to TealRegion <gen>
        • Else - Actions
      • (And So on)


Trigger:
  • ExitTrigger
    • Events
      • A unit enters RedRegionExit <gen>
      • A unit enters BlueRegionExit <gen>
      • A unit enters TealRegionExit <gen>
      • A unit enters PurpRegionExit <gen>
      • A unit enters YellowRegionExit <gen>
      • (And others)
    • Conditions
      • None
    • Actions
      • Unit - Move (Entering Unit) to ExitDestination <gen>


Of course this leaks, so you might want to look out for them

Basically you only need 1 region where units enter, and it will automatically check to which vault it has to send to unit to.
You need 1 (12 total) big region per vault
You need 1 (12 total) other region for the exit of the vault
You need 1 last region for where it teleports you when you exit
 

perkeyone

something clever
Reaction score
71
you could make a trigger that checks every .2 seconds if there is a unit in the region and if they belong to the right person.

if they are not supposed to be there kill them you move them instantly to a different place.
 

Fire-Wolf

S.P.D Smoke Pot Daily, Legalize It!
Reaction score
54
bOb's trigger isnt very efficient. And easier way would to be:
Events
A unit enters (Purples area.)

Cond. None

Actions
if
owner of triggering unit Not Equal to purple
then
move triggering unit to (a location away from purples.)
 

perkeyone

something clever
Reaction score
71
haha im doing good but if youd like to chat lets keep it in a private message
fire wolf seems to have a correct solution for you.
 

perkeyone

something clever
Reaction score
71
you just click the name of the person you want to message then click send private message.

if you get a private message you will see something like this

Code:
 Welcome, perkeyone.
You last visited: Today at 09:47 PM
Private Messages: [B]Unread 1[/B], Total 5.

in the top right hand corner of the helper website

under this stuff
Code:
The Helper offers free technical support for computer games,
computer hardware, and other computer software. Staffed
by volunteer tech support workers, The Helper is highly
regarded as a premium destination for those who are
experiencing technical problems with their computers.
 

thomas9999

New Member
Reaction score
0
ok for no1 to be in ur area i have

Events - Unit - a unit enters region Redsarea <gen
Condition - None
Action - If ((owner of (triggering unit)) not equal to player 1 (red) then do (Unit - kill (triggering unit))

and then when i tried to go into my area as a test i died as reds character in reds area
 

perkeyone

something clever
Reaction score
71
right click your trigger and copy it as text then paste it here
that way we can see exactly what it says incase you made a mistake
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top