Інсталювати Steam
увійти
|
мова
简体中文 (спрощена китайська)
繁體中文 (традиційна китайська)
日本語 (японська)
한국어 (корейська)
ไทย (тайська)
Български (болгарська)
Čeština (чеська)
Dansk (данська)
Deutsch (німецька)
English (англійська)
Español - España (іспанська — Іспанія)
Español - Latinoamérica (іспанська — Латинська Америка)
Ελληνικά (грецька)
Français (французька)
Italiano (італійська)
Bahasa Indonesia (індонезійська)
Magyar (угорська)
Nederlands (нідерландська)
Norsk (норвезька)
Polski (польська)
Português (португальська — Португалія)
Português - Brasil (португальська — Бразилія)
Română (румунська)
Русский (російська)
Suomi (фінська)
Svenska (шведська)
Türkçe (турецька)
Tiếng Việt (в’єтнамська)
Повідомити про проблему з перекладом
https://github.com/wiremod/wire/wiki/Expression-2#Entity_Discovery
But I recommend testing out the below answer first...
From: https://github.com/wiremod/wire/wiki/Expression-2#Entity
It looks like the "entity(N)" function might be what you want to set "tgtEnt" with, if you know the unique ID number
(e.g. from the Nadmod tool)
I would do it by adding an extra option alongside the "name/class/model" you would have "id"
So (after you edited your E2 chip) your commands could look like:
!fire:1:id:456
Try:
!fire:1:class:gmod_thruster
against a bog standard non-wiremod "aircraft"
This shows you the "class/type" that you can use with the "class" based version of the command:
!fire:1:class:your_prop_type
You will need to select a type thats:
A) Unique enough to define / pick out your targets
B) Is not a part of the missile - so it doesnt chase it's tail :)
E.g.
"prop_wire_thruster" may not be a good idea, as the missile has one!
...although the plain old GMod keypad thruster "prop_thruster" may be ok...
and "prop_physics" is basically everything else that moves...
You could weld a unique item to your target if its not already a unique type.
Link to addon for checking names:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=159298542