CS2D
Maps/Editor Tileset Pictures & Trigger_If Tileset Pictures & Trigger_If
5 replies 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? Image question: <tile:X> image
Not possible with Editor e.g. Env_Image For trigger_if you are gonna have to be more specific, since many things can be done with it. Hey ye,
But how its use, idk?
Can anyone tell me how use it
Because i saw in Jail map DC Admin Offline
You need at least 3 entities for a trigger_if:
A trigger, e.g. trigger_use
trigger_if
Something which should be changed (enabled/disabled) like a func_dynwall or a env_sound, 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 mp_luamap needs to be enabled if you're using trigger_if with Lua. Thanks Dc,
I will Try to do it.