Raised This Month: $51 Target: $400
 12% 

[ANY] Trigger Multiple Commands (1.9) [20-Dec-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
Zflagsucks
Junior Member
Join Date: Feb 2013
Old 10-29-2013 , 15:12   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #11

Hello Silvers. I don't know if my limited english is enough to explain my problem with this plugin.

1 - The file 'sm_trigger.cfg' in cfg\sourcemod\ folder... doesn't exist at all. But plugin menu works.

2 - I managed to save one trigger, but the only command i managed to call was 'sm_cvar sv_cheats 0'. I started server with 'sm_cvar sv_cheats 1', see? And when a survivor, penetrated the trigger... cheats were disabled. This is a good thing, i thing am gonna try later commands from your storm plugin.

Saved trigger here:

"triggers"
{
"c2m5_concert"
{
"1"
{
"vpos" "-1084.961792 2138.328613 -255.968750"
"vmax" "25.000000 25.000000 100.000000"
"vmin" "-25.000000 -25.000000 0.000000"
"Command" "sm_cvar sv_cheats 0"
"data" "11142145"
"refire_count" "2"
"refire_time" "0.500000"
"chance" "100"
}
}
}

It's the ONLY command i could use. In short, i can trigger 'sm_cvar sv_cheats' to 1 OR 0. But all the other commands are useless: Not executed, or client console shows msg about "SERVER_CAN_PREVENT_USE_ something here... command 'z_spawn'" (I tried several simple commands).

I tried several, combinations like 'Trigger command as client', etc. It was a waste of time.

Btw, i must quote here:

sm_trigger_add say "Hello World"... this doesn't produce any result, at all.

My question is, do we have any way to spawn a tank via the new saved trigger?

"Command" "z_spawn tank"

Remember, my server starts with 'sm_cvar sv_cheats 1', so it should be possible to call command 'z_spawn tank' from client side.

Any idea Silvers?

Thanks in advance.
Zflagsucks is offline
worminater
Member
Join Date: Jun 2011
Old 10-30-2013 , 15:46   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #12

Tested what you have written here and mine works fine... remember to put sm_cvar in front to make sure it gets executed regardless of the sv_cheats setting.

so...

sm_trigger_add "sm_cvar z_spawn_auto tank"
worminater is offline
Zflagsucks
Junior Member
Join Date: Feb 2013
Old 11-01-2013 , 06:20   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #13

Quote:
Originally Posted by worminater View Post
Tested what you have written here and mine works fine... remember to put sm_cvar in front to make sure it gets executed regardless of the sv_cheats setting.

so...

sm_trigger_add "sm_cvar z_spawn_auto tank"
Sorry mate, but command doesn't exist at all.

[SM] Unable to find cvar: z_spawn_auto
Zflagsucks is offline
Fragkiller
Member
Join Date: Jun 2012
Old 11-03-2013 , 10:20   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #14

Hey Dude,
Nice Plugin , im using this for my Surf Server to prevent Cheat
But is there a way that you could do something like a plugin which creates a trigger_push.
Keep it up,
Frag
Fragkiller is offline
gilmon
Senior Member
Join Date: Feb 2011
Location: China
Old 11-26-2013 , 22:04   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #15

Not really want it,just want ask.. can you add something like check how many player in game/server will trigger?
gilmon is offline
Send a message via MSN to gilmon
Earth2Luke
Junior Member
Join Date: Jun 2013
Location: Nashville, TN
Old 12-09-2013 , 11:59   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #16

Would absolutely love if you could get this working for "Hidden: Source" - I believe it's based off of SDK 2006. The only thing that doesn't seem to work is the sm_trigger_add command; does nothing.

Earth2Luke is offline
Fragkiller
Member
Join Date: Jun 2012
Old 12-10-2013 , 07:25   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #17

Anyway nice plugin

But couldnt u try to create also a plugin for creating trigger_push or trigger_teleport?
)
Fragkiller is offline
kochiurun119
BANNED
Join Date: Sep 2014
Location: GB
Old 12-19-2014 , 00:01   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #18

cool plugin ^^
kochiurun119 is offline
Send a message via ICQ to kochiurun119 Send a message via AIM to kochiurun119 Send a message via Yahoo to kochiurun119 Send a message via Skype™ to kochiurun119
YoNer
Member
Join Date: Jul 2014
Old 09-05-2016 , 00:43   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
Reply With Quote #19

Made a little mod for this plugin. Basically I wanted to be able for the trigger box to cause the players to execute commands on themselves without needing them to be able to access the command. For some reason the fake root option was not working so what I did is add a few lines that cause the plugin to parse the command and replace all instances of {me} with the ID of the person that activated the box. Using this on Server type triggers enabled me to execute any kind of command on the player without problems.

I.E.: sm_trigger_add "sm_ignite {me};sm_freeze {me}"
Will cause the player that walks into the box to ignite and freeze at the same time
Attached Files
File Type: sp Get Plugin or Get Source (sm_trigger_multiple_commands.sp - 545 views - 74.7 KB)
File Type: smx sm_trigger_multiple_commands.smx (33.2 KB, 267 views)

Last edited by YoNer; 09-05-2016 at 00:46.
YoNer is offline
xF . Tick Tock Man
Member
Join Date: Feb 2015
Old 07-11-2017 , 15:59   Re: [ANY] Trigger Multiple Commands (1.1y) [25-Jun-2017]
Reply With Quote #20

So, does this work at ALL?

I get the menu, can add/modify the triggers - but no combination of anything I have tried (including the examples given here) do anything at all. I had aspirations of using this as advertised, as a way to do some really neat things....but:

Best as I can tell this is a plugin that creates a box of red lines - the rest seems to be a way to flip through menus pretending to be doing something.....
xF . Tick Tock Man is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode