Forum

> > CS2D > Scripts > Map Editor Triggers
Forums overviewCS2D overview Scripts overviewLog in to reply

English Map Editor Triggers

3 replies
To the start Previous 1 Next To the start

old Map Editor Triggers

Apache uwu
User Off Offline

Quote
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...

old Re: Map Editor Triggers

Alistaire
User Off Offline

Quote
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"

old Re: Map Editor Triggers

Twisted
User Off Offline

Quote
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.
edited 1×, last 05.08.11 12:05:01 pm

old Re: Map Editor Triggers

Alistaire
User Off Offline

Quote
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" --'
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview