building fences

Whisp_Rush

Active Member
Reaction score
0
Hi! I want to make a fence to my map, it seems easy, but I can only make the horizontal one, the vertical no... I think it's impossible to rotate units like destructibles in the object editor, so I made this trigger to do it:

Trigger:
  • Perpendicular Fence
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to Fence
    • Actions
      • Set fence = (Position of (Constructed structure))
      • Unit - Remove (Constructed structure) from the game
      • Unit - Create 1 Perpendicular Fence for (Owner of (Constructed structure)) at fence facing 90.00 degrees


it doesn´t work... the unit called fence disappears, but nothink appears...
please help me
 

Jedi

New Member
Reaction score
63
You should save Constructed structure's owner, because what are you doing is:

Unit - Create 1 Perpendicular Fence for (Owner of (????)) at fence facing 90.00 degrees

Since the unit is removed, owner of constructed structure returns nothing.
 

chobibo

Level 1 Crypt Lord
Reaction score
48
Or
Trigger:
  • Perpendicular Fence
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Constructed structure)) Equal to Fence
    • Actions
      • Set fence = (Position of (Constructed structure))
      • Unit - Create 1 Perpendicular Fence for (Owner of (Constructed structure)) at fence facing 90.00 degrees
      • Unit - Remove (Constructed structure) from the game
 

evilwolf

Member
Reaction score
11
Just make seperate fences...
One for vertical...
One for Diagonal...
One for Horizontal...
 

Whisp_Rush

Active Member
Reaction score
0
yes I wanted to make separate fences, but I can't.... because when u want to use the Fence model there is only one, the horizontal one... the vertical is the same, but rotated with 90 grades... but you can0t select the rotatedmodel :/
 

evilwolf

Member
Reaction score
11
yes I wanted to make separate fences, but I can't.... because when u want to use the Fence model there is only one, the horizontal one... the vertical is the same, but rotated with 90 grades... but you can0t select the rotatedmodel :/
Of course you can...
Make fences based on these models:
Wall low(diagonal)
Wall low (horizontal)
Wall low (vertical)
 
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