This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[ANY] Trigger Multiple Commands (1.10) [16-May-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Fragkiller
Member
Join Date: Jun 2012
Plugin ID:
3844
Plugin Version:
1.10
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    Create trigger_multiple boxes which execute commands when entered by players.
    Old 12-10-2013 , 07:25   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
    Reply With Quote #1

    Anyway nice plugin

    But couldnt u try to create also a plugin for creating trigger_push or trigger_teleport?
    )
    Fragkiller is offline
    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 #2

    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
    Tonblader
    Senior Member
    Join Date: Jul 2011
    Location: Peru
    Old 06-04-2020 , 04:47   Re: [ANY] Trigger Multiple Commands (1.1) [25-Aug-2013]
    Reply With Quote #3

    Quote:
    Originally Posted by Zflagsucks View Post
    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.
    in L4D2
    same problem here, the file sm_trigger.cfg , no exist
    I can't see the trigger boxes either, therefore I can't move them and the "show/hide" option is permanently "hide"
    when I use sm_strike, I can correctly see and move all the trigger boxes (of this plugin).

    Last edited by Tonblader; 06-04-2020 at 05:05.
    Tonblader 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 #4

    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 #5

    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 #6

    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 #7

    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 #8

    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
    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 #9

    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 #10

    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 - 553 views - 74.7 KB)
    File Type: smx sm_trigger_multiple_commands.smx (33.2 KB, 269 views)

    Last edited by YoNer; 09-05-2016 at 00:46.
    YoNer 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:54.


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