Forum

> > CS2D > General > How to use DynWall?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch How to use DynWall?

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt geschlossen How to use DynWall?

Gast

Zitieren
Hey guys i was just wondering how can i use DynWall as a door not any wall or obstacle..?

What do you put on the trigger on trigger_use and Func_DynWall?

and how do lightswitch work?

If you help i'll appreciate it.

alt Re: How to use DynWall?

ljUSTiNl
User Off Offline

Zitieren
It's rather simple, and works with nearly any entity.

Say you want to have a door, opened by pressing "E" directly in front of it. This will require a Func_DynWall [D] and a Trigger_Use [T] (those are the abbreviations I'll use to simplify things).

Simply place the two entities side-by-side, aligned as you would like them (should be pretty much common sense). Place the [D] in the doorway and the [T] on one or both sides of it.

[D][T]

Settings for the entities:
Func_DynWall Name: door1 -- Tile: TileID# (ex. 10)
Trigger_Use Trigger: door1

Pretty simple. The same works for lightswitchs or any other entity. So follow the same technique, except instead of Func_DynWall, use Env_Sprite. Pick any name you would like, just make sure it is unique and corresponds to the proper trigger.

You can have more than one trigger activate the same entity, and have one trigger activate more than one entity. And they do not need to be placed side by side. But in the example of the door, the trigger is placed adjacent so that it is triggered directly in front of the door.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht