CS2D General How to use DynWall? How to use DynWall?
4 replies 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. 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. for da lightswitch:
go behind it, press E and the bulb goes off.
For func dyna idk THanks Guys!!
I found this website useful so...
i created my account!
thx!!! DC Admin Offline