Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=159298542