Forum

> > CS2D > Scripts > Map Editor Triggers
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Map Editor Triggers

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Map Editor Triggers

Apache uwu
User Off Offline

Zitieren
I realize this is the script section--however I am creating a script, not creating a map.

Lets suppose 'foo' is entity_trigger_start.

foo:trigger_start
name=nothing
trigger="entity1, entity2 ,entity 3 "

As you can see foo triggers 3 other entities...however look how they are written...

"entity1"
" entity2 "
"entity 3 "

So only 3 entities should be called right?

No, it seems...

"entity1" is called
"entity2" is called
" entity2 " is called
" entity2" is called
"entity 3 " is called
"entity 3" is called

That is really confusing...

alt Re: Map Editor Triggers

Alistaire
User Off Offline

Zitieren
So? It always works like that. Just write it right so you can remember what it was.

You pointed out this:

"It doesn't matter if there is or isn't a space before or after the name you want to trigger"

alt Re: Map Editor Triggers

Twisted
User Off Offline

Zitieren
It's not confusing, it just leaves less room for error.

It might take awhile to figure out why it's not working if you had to have it exactly correct. It's not hard to accidentally put a space somewhere.
1× editiert, zuletzt 05.08.11 12:05:01

alt Re: Map Editor Triggers

Alistaire
User Off Offline

Zitieren
Another thing; Why the hell would you like to call more entities the same. You can call 1 "door1" or "d1" (Which leaves less space for other entities with a d), but who calls entities "entity1" --'
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht