Jump to content

fx_runner question


Maui

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...