Forum

> > CS2D > Scripts > What is build "mode" ?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch What is build "mode" ?

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt What is build "mode" ?

Rainoth
Moderator Off Offline

Zitieren
Hey everyone.
Please take a look at cs2d lua hook build or cs2d lua hook buildattempt

Arguments contain something called "mode"

May I ask what building modes are or how I could use them ? I tried just msg'ing/printing out the mode and I get 0 when building normally. No idea. Anyone know what building modes are or how I could benefit from them ?

alt Re: What is build "mode" ?

DarkLight66
User Off Offline

Zitieren
I believe that argument is for getting which item is being supplied from a supply/super supply, though i'm not sure what it gets from other buildings.

alt Re: What is build "mode" ?

KimKat
GAME BANNED Off Offline

Zitieren
Someone should have had really written a full review of all Lua things by now. Guess no one has the time to. But there is a helpful document when you download CS2D which you can use also there is a online way to go through all the things.
> All the things

I believe building mode means when you're attempting to build something if you are gonna see the construction that you see before the initial building is complete or if you just simply want to build. But I could be wrong however that's my speculations.

alt Re: What is build "mode" ?

DC
Admin Off Offline

Zitieren
I guess it's about rotation. Most buildings can't be rotated at all but some can (barbed wire for example).
Why don't you write a script to check it? Simple print the mode value.
It could also be for other information but I'm sure that at least for barbed wire it must be the rotation.

It's right, the online reference is a bit incomplete for some commands / hooks.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht