Addoutput Syntax Question

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
I believe the OnIgnite output is your problem. It is the counterpart to the Ignite input, which is not pyro fire in TF2, is it base Source/HL2 fire. If you send an Ignite to yourself ingame you will see it is different and broken.

If OnIgnite does actually work with TF2 fire and that isn't the issue, I have a couple more ideas:

What commands? Some commands cannot be executed via a p_cc to prevent malicious activity.

You are firing from a case, have you verified that the AddOutput is properly being sent to the player entity? Certain entities do not handle !activator properly and there may be an issue in your logic chain.
 

SV_CHEATS 1

L1: Registered
Feb 20, 2012
16
0
I believe the OnIgnite output is your problem. It is the counterpart to the Ignite input, which is not pyro fire in TF2, is it base Source/HL2 fire. If you send an Ignite to yourself ingame you will see it is different and broken.

If OnIgnite does actually work with TF2 fire and that isn't the issue, I have a couple more ideas:

What commands? Some commands cannot be executed via a p_cc to prevent malicious activity.

You are firing from a case, have you verified that the AddOutput is properly being sent to the player entity? Certain entities do not handle !activator properly and there may be an issue in your logic chain.

They aren't malicious commands. I'm using the "ignite" input. Do outputs like "OnX" work with addoutputs? If so, is the was I scripted it correct with the Onignite point_clientcommand,command,<cmd>
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Sorry, I just realized you did have the syntax wrong. The separator for AddOutput is a colon not a comma. I overlooked it on first glance because the VMF format uses commas to delimit an output. It should work if you do that instead. (I just tested OnIgnite with addoutput ingame)
 

SV_CHEATS 1

L1: Registered
Feb 20, 2012
16
0
Sorry, I just realized you did have the syntax wrong. The separator for AddOutput is a colon not a comma. I overlooked it on first glance because the VMF format uses commas to delimit an output. It should work if you do that instead. (I just tested OnIgnite with addoutput ingame)
like
addoutput,onignite:eek:int_clientcommand,command
?or what?
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
...I could have just formatted the output you had originally posted, but you blanked your post. I find it really aggravating when people do that. It was closer to correct than what you posted now.

any entity on the VDC said:
AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>

Input:
AddOutput

Parameter:
OnIgnite p_cc:command:commandstring