This article's documentation is for anything that uses the Source engine. Click here for more information.

info_target

From Valve Developer Community
< Sk
Jump to navigation Jump to search
English (en)Slovenčina (sk)Translate (Translate)
Recycle-warning.png
Toto je prezervovaná entita(en) v Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadPortal 2Counter-Strike: Global Offensive
Ak hra má mechanizmus ako resetovať kolo tak to môže spôsobiť problémy(en).
Info target.png

info_target je point entita(en) dostupná v každej hre, používajúcej Source Source.

Hierarchia tried
CInfoTarget
CPointEntity
CBaseEntity
beam_shared.cpp

Je použiteľná pre veľa rozličných entít, a je výborný všeobecný cieľ pre rôzne entity, ktoré maju mieritť, strieľať, pozerať na alebo kráčať na určenú pozíciu.

Je to jej hlavné použitie, a je podobné ako info_null. Info_null je preferovaný na namierenie svetiel na určenú pozíciu, lebo info_null sa vymaže hneď po spawnutí, zatiaľ čo info_target ostáva. Táto entita môže byť tiež umiestnená pomocou editora komentárov(en) pre zmenu uhlov a pozície hráčov počas komentáru vývojára.

Keyvalues

See also:  Generic Keyvalues, Inputs and Outputs available to all entities
Name(en) (targetname) <string(en)>
Meno, ktoré iné entity použijú ak treba referovať na túto entitu.

Flags

Transmit to client (respect PVS) : [1]
Doručuj klientovi (zohľadni PVS)
Always transmit to client (ignore PVS) : [2] (vo všetkých hrách od vydania Left 4 Dead 2)
Vždy doručuj klientovi (ignoruj PVS)

Pozri aj