Template:BasicCSseriesWeapon: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Thunder4ik (talk | contribs) m (→Outputs: clean up, replaced: {{documentation}} → {{doc}})  | 
				 (-cleanup)  | 
				||
| Line 11: | Line 11: | ||
{{#ifeq:{{{css|1}}} |0|| {{KV|only={{css}}|ammo|integer|Amount of reserve ammo to be added. Fallback value is 0. {{Not in FGD}}}} }}  | {{#ifeq:{{{css|1}}} |0|| {{KV|only={{css}}|ammo|integer|Amount of reserve ammo to be added. Fallback value is 0. {{Not in FGD}}}} }}  | ||
{{#ifeq:{{{csgo|1}}}|0|| {{KV|since={{csgo}}|Is this weapon allowed to be picked up?|intn=CanBePickedUp|boolean|Determines if players are able to pick up the weapon.}} }}  | {{#ifeq:{{{csgo|1}}}|0|| {{KV|since={{csgo}}|Is this weapon allowed to be picked up?|intn=CanBePickedUp|boolean|Determines if players are able to pick up the weapon.}} }}  | ||
}}  | }}  | ||
| Line 43: | Line 41: | ||
</p>}}<!--  | </p>}}<!--  | ||
-->  | -->  | ||
}}  | }}  | ||
| Line 59: | Line 56: | ||
{{IO|OnCacheInteraction|nofgd=1|removed={{cs2}}|When dropped, fires every tick on player touch {{PlAct}}. {{#ifeq:{{{csgo|1}}}|0|| <br>{{csgo}} Also fires on successful [[+use]] pickup. Does not fire if <code>CanBePickedUp</code> is false.}}}}  | {{IO|OnCacheInteraction|nofgd=1|removed={{cs2}}|When dropped, fires every tick on player touch {{PlAct}}. {{#ifeq:{{{csgo|1}}}|0|| <br>{{csgo}} Also fires on successful [[+use]] pickup. Does not fire if <code>CanBePickedUp</code> is false.}}}}  | ||
{{IO|OnNPCPickup|nofgd=1|removed={{cs2}}|Fires when an [[NPC]] picks up this weapon {{activator|NPC}}. [[Bot]]s are considered [[player]]s, so this output has no functionality.{{#ifeq: {{{css|1}}}|0||<br>{{css}} [[hostage_entity|Hostages]] might be NPCs, but they don't pick weapons up.}}}}  | {{IO|OnNPCPickup|nofgd=1|removed={{cs2}}|Fires when an [[NPC]] picks up this weapon {{activator|NPC}}. [[Bot]]s are considered [[player]]s, so this output has no functionality.{{#ifeq: {{{css|1}}}|0||<br>{{css}} [[hostage_entity|Hostages]] might be NPCs, but they don't pick weapons up.}}}}  | ||
}}  | }}  | ||
Revision as of 04:53, 1 July 2024
The above documentation is transcluded from Template:BasicCSseriesWeapon/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.