#How can I give a target name to a team or player?

1 messages · Page 1 of 1 (latest)

long willow
#

Pretty sure you can't do that, the most you could do is AddContext, which is still useful depending on what you want to do, but doesn't offer you the same capabilities as what you're asking would.

shadow jungle
#

Or i need filter_activator_context?

long willow
#

I use it like this on my warmup map to distinguish certain features from interacting with the player and only the bots

#

and yea, a filter activator context to disallow entities with 'player' context

#

but adding a targetname to anything, not just players, is changing keyvalues, which is not possible. so anything involving that is also off the cards unfortunately.

shadow jungle
long willow
#

can be anything:integer

#

but it needs a number after it

#

ct:1

#

t:1

#

2 named filter_activator_context's, both set to disallow, and one has 'ct' and the other has 't' as the context

#

any entity that lets you set a filter for determining what its output will affect will work with this.

shadow jungle
#

I hope I understood everything correctly, now I’ll try your method and if anything is unclear, I’ll ask again, thank you

long willow
#

what exactly is it you're tryin to do?

shadow jungle
long willow
#

Sorry man, I'm not even gonna pretend to know how to do that. I would assume that it's not possible without a plugin or something because you have to pay for the models thesedays lol, but I haven't really looked into it

shadow jungle
long willow
#

yeah that's normal

shadow jungle
#

there in filtername i should have added the command name, right?

long willow
#

if you have a bot walk into the bounds of that trigger_multiple,
and type (I think, if it still works)

ent_text256

in console while aiming at that bot

#

it should show their context

#

yea

#

the context you added

#

should be the same as the context

#

player:1 was not anything specific that I chose, like i said it could be anything

#

sdfidfdsfd:1

shadow jungle
#

I need to set up the context of the players, that's why I use player:1

long willow
#

it doesn't matter what you call it, is what i mean, it doesn't matter if it's for players or not.

#

the context you add via the trigger_multiple is what you define in the filter_activator_context for the 'filter context'

#

if you addcontext csgo:1 to the activator, you put csgo in the filter context

#

it doesn't matter what yo ucall it. If you're planning on giving individual players their own context, it could work, but maybe not to the same effect that you might be hoping,

shadow jungle
#

Okay, i understand

idle jackal
#

@long willow give me vmap pls bro, it doesn't work for me, please let me see

shadow jungle
long willow
#

what are you trying to do with ent_fire?

shadow jungle
#

I replace models using this command, I do prop hunt mode

long willow
#

honestly man, i don't have a fkn clue, never tried to do anything like that sorry.

shadow jungle
#

Please

long willow
shadow jungle
#

dfqwfqf

thick tiger
#

its in red?
will it work?

steady marsh
#

Yes, if the input exists, it will work (which it does here)

shadow jungle
#

How can I give a target name to a team or player?