Rick Posted February 17, 2014 Share Posted February 17, 2014 Sometimes I find I just need to assign entity keys to entities in the editor so I can flag them as something. I know right now I have to attach a script and do it that way, but it would be nice to be able to do this from the editor. Maybe have a Keys tab when you select the entity that allows us to add a dynamic amount of key/value pairs to it. For csg this should flag it to not get collapsed. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted February 17, 2014 Share Posted February 17, 2014 You mean like RTS ? selecting all flagged entities in one click or key ? Like make virtual groups in the editor and select any group any time easyly ? Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Rick Posted February 17, 2014 Author Share Posted February 17, 2014 entity:SetKeyValue("key", "value) I want to be able to do that in the editor for any entity for any amount of keys. You can query these with entity:GetKeyValue("key") to tell what certain things are. This is a way to set variables inside the entity itself as opposed to doing it via a script. Some things may need to be tagged with keys but don't require a full script. 1 Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted February 17, 2014 Share Posted February 17, 2014 good idea. Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.