Asw pickup prifle: Difference between revisions
Jump to navigation
Jump to search
Fizzleblix (talk | contribs) m (fixed OnCacheInteraction Output) |
TomEdwards (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Keyvalues == | == Keyvalues == | ||
; Bullets in gun <code><[[int]]></code> | ; Bullets in gun <code><[[int]]></code> | ||
: Specifies the number of bullets in this pickup. On this pickup, defaults to | : Specifies the number of bullets in this pickup. On this pickup, defaults to 5 grenades. | ||
; Clips <code><[[int]]></code> | ; Clips <code><[[int]]></code> | ||
: Specifies the number of clips in this pickup. On this pickup, defaults to | : Specifies the number of clips in this pickup. On this pickup, defaults to 0. | ||
; Secondary Bullets <code><[[int]]></code> | ; Secondary Bullets <code><[[int]]></code> | ||
: Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to | : Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to 0. | ||
{{KV | {{KV ASWPickup}} | ||
== Flags == | == Flags == | ||
{{Fl ASWPickup}} | |||
== Inputs == | == Inputs == | ||
{{I ASWPickup}} | |||
{{I | |||
== Outputs == | == Outputs == | ||
{{O ASWPickup}} | |||
Revision as of 02:11, 13 August 2010
Template:As point It is used to spawn a prototype rifle.
Keyvalues
- Bullets in gun
<int>
- Specifies the number of bullets in this pickup. On this pickup, defaults to 5 grenades.
- Clips
<int>
- Specifies the number of clips in this pickup. On this pickup, defaults to 0.
- Secondary Bullets
<int>
- Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to 0.
- Stay in air on startup (FreezePickup) <boolean>
- If set, this pickup won't fall to the ground when the map starts.
Flags
Item:
;Start Constrained : [1]
- Keeps the model from moving.
Inputs
Outputs
Item:
- OnPlayerTouch
- Fires when the player touches this object.
- OnCacheInteraction
Confirm:Fires when the player proves they have 'found' this item:
- Player touch (whether or not player actually acquires the item)
- Picked up by +USE