Installer Steam
connexion
|
langue
简体中文 (chinois simplifié)
繁體中文 (chinois traditionnel)
日本語 (japonais)
한국어 (coréen)
ไทย (thaï)
Български (bulgare)
Čeština (tchèque)
Dansk (danois)
Deutsch (allemand)
English (anglais)
Español - España (espagnol castillan)
Español - Latinoamérica (espagnol d'Amérique latine)
Ελληνικά (grec)
Italiano (italien)
Bahasa Indonesia (indonésien)
Magyar (hongrois)
Nederlands (néerlandais)
Norsk (norvégien)
Polski (polonais)
Português (portugais du Portugal)
Português - Brasil (portugais du Brésil)
Română (roumain)
Русский (russe)
Suomi (finnois)
Svenska (suédois)
Türkçe (turc)
Tiếng Việt (vietnamien)
Українська (ukrainien)
Signaler un problème de traduction
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