Forum

> > CS2D > Maps/Editor > Tileset Pictures & Trigger_If
ForenübersichtCS2D-Übersicht Maps/Editor-ÜbersichtEinloggen, um zu antworten

Englisch Tileset Pictures & Trigger_If

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Tileset Pictures & Trigger_If

Man Of Steel
User Off Offline

Zitieren
hey guys,

Its possible that we can take any tile Image? (Not all Tile set image together) only 1 tile (ID), i.e 1,2 .... 200.

_____________

And how to use Trigger_IF?, Because i has many time saw in Fws.Jail map.editior

Does Maybe its very usable?

alt how use?

Man Of Steel
User Off Offline

Zitieren
Hey ye,
But how its use, idk?
Can anyone tell me how use it
Because i saw in Jail map

alt Re: Tileset Pictures & Trigger_If

DC
Admin Off Offline

Zitieren
You need at least 3 entities for a trigger_if:

• A trigger, e.g. cs2d entity trigger_use
• cs2d entity trigger_if
• Something which should be changed (enabled/disabled) like a cs2d entity func_dynwall or a cs2d entity env_sound, cs2d entity env_sprite, ...

Setup:
• the entity you want to change (like sound or dynwall): Enter a name in its name field e.g. "myentity"
• trigger_if: enter a name e.g. "mycondition" and in the trigger field enter "myentity" so it triggers your entity
• trigger_if: choose a condition to be checked or enter a custom boolean Lua expression to be evaluated. Only if the condition/expression is true, "myentity" will be triggered/changed
• trigger_use: enter "mycondition" in the trigger field so it triggers the trigger_if (which then might trigger your other entity depending on the condition)

In case you only want to run Lua you only need a trigger of some kind and the trigger_if. In that case you don't care about the result of the Lua expression.

Note that cs2d cmd mp_luamap needs to be enabled if you're using trigger_if with Lua.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Maps/Editor-ÜbersichtCS2D-ÜbersichtForenübersicht