SetProperty("cp3", "CaptureRegion", "cp3_capture_outofreach")
thanks in advance
Moderator: Moderators



so is other crazy idea dont work :S , i am trying change name of vehicle spawn, for no need add extra layers maybe if in lua i could change the atte rep_walk_atte change his name to imp_walk_atat so yeah will appear in map??Maveritchell wrote:I don't believe that you can use SetProperty on vehicle spawns. Command posts are different because they use "instance properties" (which are specific to each individual CP) in addition to object properties (which are used for every instance of that type of object).
There's almost always a workaround, though - what are you trying to do?

I don't know why you'd care about the name of a vehicle spawn at all, since it's mostly irrelevant. A vehicle spawn does give you options to set different vehicles based on the team using them, and it has more than just two teams.Deviss wrote:i am trying change name of vehicle spawn, for no need add extra layers maybe if in lua i could change the atte rep_walk_atte change his name to imp_walk_atat so yeah will appear in map??

i know but for example hoth he havent vehicles for rep and i want put atte instance of atat so i need vehicle spawn read other name xDMaveritchell wrote:I don't know why you'd care about the name of a vehicle spawn at all, since it's mostly irrelevant. A vehicle spawn does give you options to set different vehicles based on the team using them, and it has more than just two teams.Deviss wrote:i am trying change name of vehicle spawn, for no need add extra layers maybe if in lua i could change the atte rep_walk_atte change his name to imp_walk_atat so yeah will appear in map??

You can either make a new (empty) layer and read it in on top of Hoth, or you can create a vehicle for whoever, name it "imp_walk_atat" and then localize it to something else.Deviss wrote:i know but for example hoth he havent vehicles for rep and i want put atte instance of atat so i need vehicle spawn read other name xD

the first one is what i am trying dont make, and the second will make my side bigger :S , better i use the one as you saidMaveritchell wrote:You can either make a new (empty) layer and read it in on top of Hoth, or you can create a vehicle for whoever, name it "imp_walk_atat" and then localize it to something else.Deviss wrote:i know but for example hoth he havent vehicles for rep and i want put atte instance of atat so i need vehicle spawn read other name xD