Maui Posted January 31, 2016 Share Posted January 31, 2016 Is it possible to show/hide fx_runners ?Say like, I've got a clan tag which I want to hide/show with a button.. how would I do that? I've tried target_activate and deactivate (combined with a script, used the same script for enable/disable a teleport. New script is edited though) but those don't work. What else could I do? Link to comment
redsaurus Posted January 31, 2016 Share Posted January 31, 2016 Have you tried just using the entity? Maui likes this Link to comment
Ramikad Posted January 31, 2016 Share Posted January 31, 2016 The fx_runner. Provided that it's set with startoff spawnflags checked, using it will activate and deactivate it. Maui likes this Link to comment
Maui Posted January 31, 2016 Author Share Posted January 31, 2016 That was the idea. Here's my code: { "classname" "trigger_multiple" "model" "*8" "target" "lockTags" "origin" "87941 10153 -87268" "spawnflags" "261" "wait" "4" } { "classname" "target_scriptrunner" "targetname" "lockTags" "usescript" "useTags" "count" "-1" "target" "useTags1" "parm1" "0" } { "targetname" "lockTags" "target" "useTags1" "classname" "target_deactivate" } { "targetname" "unlockTags" "target" "useTags1" "classname" "target_activate" } { "classname" "target_print" "targetname" "lockTagsmsg" "message" "^1Clan Tags\n^3Deactivated" "wait" "750" } { "classname" "target_print" "targetname" "unlockTagsmsg" "message" "^1Clan Tags\n^3Enabled" "wait" "750" } All fx_runners have targetname useTags1 Link to comment
Ramikad Posted February 2, 2016 Share Posted February 2, 2016 You don't need a target_activate or target_deactivate, just use the fx_runner set with startoff spawnflag and it should trigger on / off by itself. Asgarath83 likes this Link to comment
Maui Posted February 4, 2016 Author Share Posted February 4, 2016 You don't need a target_activate or target_deactivate, just use the fx_runner set with startoff spawnflag and it should trigger on / off by itself.I don't want it to be set on or off by itself. I want a button to do so. Link to comment
Ramikad Posted February 4, 2016 Share Posted February 4, 2016 What I meant was that when you USE the fx_runner (NOT the target_activate or target_deactivate) the effect will trigger on and off, without the need for strange activators. Asgarath83 likes this Link to comment
Asgarath83 Posted February 4, 2016 Share Posted February 4, 2016 Is sufficient a trigger multiple that run a script that use the fx_runner targetname with startoff spawnflags. @@Ramikad is right. Or simply, a trigger_multiple entity connected to a startoff fx_runner. with use_button spawnflag and a good wait amount. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now