Forum

> > CS2D > General > How to use DynWall?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English How to use DynWall?

4 replies
To the start Previous 1 Next To the start

old closed How to use DynWall?

Guest

Quote
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.

old Re: How to use DynWall?

ljUSTiNl
User Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview