How Download Music

你好! 访客. 请先 登录注册一个帐号.
五月 20, 2012, 02:31:55 am
首页 帮助 搜索 日历 登录 注册

+  库点子 COOKING GREAT IDEAS
|-+  Course and Workshop
| |-+  Unreal Technical Support Forum
| | |-+  Match These Tags
« 上一篇主题 下一篇主题 »
页: [1] 向下 打印
作者 主题: Match These Tags  (阅读 2574 次)
Ding, Zhao Chen(diydiy)
Administrator
Jr. Member
*****
离线 离线

帖子: 84


查看个人资料 电子邮件
« 于: 十一月 07, 2005, 01:09:44 pm »

There are many instances where you need to "tie" two or more actors together in some way. The Unreal Engine does this by using tag properties. These are name variables. It doesn't matter what the actual value is, the important thing is that they match.

The classic example is the Events → Tag and Events → Trigger pair. If we have:

* A Trigger actor with Events → Event = foo
* Another actor with Events → Tag = foo

then the two are tied together, and the Trigger will activate the other actor. It doesn't matter that we used "foo", only that they both have "foo". We could have used "bar". But of course, if later on we want to match another, different pair, then we can't use "foo", because it's already used. We can give many other actors the "foo" tag, but they'll be involved with the two we already have: other Triggers, or other actors we want to be activated by any of the triggers (database people will recognize this as a many-to-many relationship).

For example, the Trigger actor could activate a roomfull of monsters, like this:

* Trigger actor with Events → Event = foo
* Monster1 with Events → Tag = foo
* Monster2 with Events → Tag = foo
* ... and so on.

All the monsters will be activated by the Trigger.

Many other properties use this concept. For example: FortStandard → NearestPathNodeTag, etc
已记录
页: [1] 向上 打印 
« 上一篇主题 下一篇主题 »
跳到:  


请输入帐号, 密码以及预计登录时间

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC | smf.cn
论坛所讨论的话题和语言不代表本站立场
验证 XHTML 1.0! 验证 CSS!