View Single Post
Author Message
Static2601
Senior Member
Join Date: Jun 2010
Old 04-26-2012 , 15:29   how would I write this plugin?
Reply With Quote #1

Im trying to change the value of an entity in my map to set to a value. Ive been trying to do this for a long time, cant figure it out.
I want a entity to set the value to turn on.
the entity is a logic_branch "name1" i want it to "setvaluetest" "1"
Or, another one i have is "logic_relay" "name2" to "trigger".
The only way i can do this now is have a button in the map or turn on cheats and "ent_fire name1 setvaluetest 1" in console.

Last edited by Static2601; 04-26-2012 at 15:30.
Static2601 is offline