Blocking func_conveyor.
Hi, i'm trying to make an plugin to block the SPEED BAND on deathrun maps and the teleporter .
I've succesfuly blocked the teleport portals, but the speed band is still working, i've tried with regsiter_touch and ham_Use and both doesn't work . heres the code: PHP Code:
|
Re: Blocking func_conveyor.
Can I suggest func_conveyor removal?
May be like this: PHP Code:
|
Re: Blocking func_conveyor.
I dont want to remove it just disable, removing would be an option too only if the entity would be respanwed next round
|
Re: Blocking func_conveyor.
Quote:
If you need to bring it back then set its origin to 0.0 PHP Code:
|
Re: Blocking func_conveyor.
The entity or whatever is the "speed band on deathrun zones"you know the speed band from deathrum mode that terorist have .
I've used FM_touch to find out its Entity ClassName, and it printed as being func_conveyor and the portal as trigger_teleport , i've tried to block them with register_touch() on trigger_teleport it worked perfectly but func_conveyor doesn't work . I'll try to make some tests to see if it working (my goal is to block them when the DUEL is on so the players wont use it in duels ) . Edit: Isn't there a way just to block touching it? I mean even if you touch you wont gain speed or anything ? |
Re: Blocking func_conveyor.
Quote:
Then you can make it like this: PHP Code:
|
Re: Blocking func_conveyor.
Hi, there is option to change entity's value, in this situation it would be 'speed' but problem is that u need it only for specific players/duel. You can try to solve this with pev_groupinfo maybe?
https://i.imgur.com/bYkFdkp.jpeg |
Re: Blocking func_conveyor.
Try blocking the touch of trigger_push
|
Re: Blocking func_conveyor.
Quote:
|
Re: Blocking func_conveyor.
`Natsh, trigger_push has no effect.
`kww , your code gives some tag mismatch warning when compile, also, i tried to add them into clcmd commands to check if they works, /remove block my cs or something like that, like teleporting my in a wall and blocks my screen view and when i use the add code with /add it teleports me somewhere else in a wall, test: `JocANis, can you provide an scripting example? PHP Code:
|
| All times are GMT -4. The time now is 21:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.