#How can I give a target name to a team or player?
1 messages · Page 1 of 1 (latest)
How should I use addcontext? Any examples? It’s just that all I know about it is that it needs to be used through the info_target, right?
Or i need filter_activator_context?
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.
But I only need to apply this to different teams of players, in which case everything should be correct, right? And player:1 is this a CT or T team?
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
e.g.
any entity that lets you set a filter for determining what its output will affect will work with this.
I hope I understood everything correctly, now I’ll try your method and if anything is unclear, I’ll ask again, thank you
what exactly is it you're tryin to do?
I want to put different character models for the CT and T teams
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
Should AddContext light up red or did I do something wrong?
yeah that's normal
there in filtername i should have added the command name, right?
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
I need to set up the context of the players, that's why I use player:1
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,
Okay, i understand
@long willow give me vmap pls bro, it doesn't work for me, please let me see
I want to use the context through the ent_fire command, but it does not display any context
what is not working
what are you trying to do with ent_fire?
I replace models using this command, I do prop hunt mode
honestly man, i don't have a fkn clue, never tried to do anything like that sorry.
Can you give me vmap with these entities and the trigger, what if everything works and it’s just me making a mistake?
Please
here's an example.
I can't really explain it anymore than I already have lol, sorry man
dfqwfqf
its in red?
will it work?
Yes, if the input exists, it will work (which it does here)
How can I give a target name to a team or player?