Forum

> > CS2D > Scripts > Can't trigger Env_Breakable
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Can't trigger Env_Breakable

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Can't trigger Env_Breakable

Mami Tomoe
User Off Offline

Zitieren
I've tried using the following code in both the console and a
.lua
file yet the
Env_Breakable
did not return.

1
2
parse('trigger Altar1') --For Lua
trigger Altar1 --For console

IMG:https://i.imgur.com/KbT3u3y.png


I can only destroy it (or make it disappear I'm unsure) using
trigger
but I can't respawn it.

Also another issue is that setting transparency to 0.0 will reset it to 1.0 making 0.1 the lowest transparency option possible.

alt Re: Can't trigger Env_Breakable

Mami Tomoe
User Off Offline

Zitieren
But I want to be able to break it and to have it return after a specific amount of time.

Is there a special reason as to why I can't restore it?

alt Re: Can't trigger Env_Breakable

-3Jlou_nTu4-
User Off Offline

Zitieren
you can always do something similar ... for example, make an image and add the ability to cause damage to the image ... Further, you can catch events about the damage to the image => know when the image should be "dead" => able to regenerate it on the same place

alt Re: Can't trigger Env_Breakable

Mami Tomoe
User Off Offline

Zitieren
Yeah I know it's possible but that's just a dirty workaround, why shouldn't we be able to restore env_breakable?
Like there is no obvious reason as to why it's bad to restore it, it's just like a lacking feature.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht