Syntax for multiple tags

A refuge for those migrating from the fallen DXEditing.com and a place for general discussion relating to Deus Ex editing (coding, mapping, etc).
Post Reply
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Syntax for multiple tags

Post by Neveos »

Hypothetically: I want a single trigger to initiate a Wandering order for multiple pawns. What is the naming convention for doing this? Is it something like:

PaulDenton,WaltonSimons

or is this not even possible? I can think of the work around, I just want to know if I'm doing it the hard way by knowing whether this is possible.
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
DDL
Traditional Evil Scientist
Traditional Evil Scientist
Posts: 3791
Joined: Mon Oct 17, 2005 10:03 am

Re: Syntax for multiple tags

Post by DDL »

Nope: tags are names, and each trigger can only pass on stuff to the single name specified in the "event" property.

So no, you can't have one orders trigger firing to differently tagged pawns. You COULD code up one, with say "var name event1; var name event2;" etc and then go through sending orders to all the names on the list, but it's generally easier to just add several triggers with different 'event' values instead. Give 'em all the same tag and you can trigger 'em at the same time.
User avatar
Neveos
X-51
Posts: 875
Joined: Wed Mar 03, 2010 1:29 am

Re: Syntax for multiple tags

Post by Neveos »

Right, thank you. Figured it would come in handy later. ;)
What I do in my other free time:
http://www.youtube.com/watch?v=e3FfPUKuGsQ
Post Reply