Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Queryk  
#1 Posted : Saturday, June 24, 2017 5:25:50 AM(UTC)
Queryk
Private
Joined: 6/24/2017(UTC)
Posts: 7

When looking trough the superweaponscripts for the China boss challenge, i saw that the superweapons were actually located in the build list. To add relevant scripts to those buildings, they need to have names. How do i give a name to a building in a build list in my own maps?
Sponsor
Offline acidbrain  
#2 Posted : Saturday, June 24, 2017 1:31:40 PM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Double click the object in the buildlist and a window pops up where you can set the name and add a subroutine script...
UserPostedImage

If you want to add a name when the list is already generated use 'Name = blabla'...
Code:

  Structure AirF_AmericaFireBase
    Name = AirF_FireBase_1
    Location = X:-800.00 Y:150.00
    Rebuilds = -1
    Angle = 45.00
    InitiallyBuilt = No
    AutomaticallyBuild = No
  End


Greetz

Edited by user Thursday, May 24, 2018 12:39:32 PM(UTC)  | Reason: Not specified

Panem et kirkinses
thanks 1 user thanked acidbrain for this useful post.
Romka beton on 6/25/2017(UTC)
Offline Queryk  
#3 Posted : Sunday, June 25, 2017 10:38:30 AM(UTC)
Queryk
Private
Joined: 6/24/2017(UTC)
Posts: 7

I can't believe i didnt actually try to double click...

Thank you tho ;)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.