blob: 9cbc9b922951691cab654ce36c1c6647f7a2efaa [file] [log] [blame]
Zesstra953f9972017-02-18 15:37:36 +01001
2cmd_shoot()
3***********
4
5
6FUNKTION
7========
8
9 static int cmd_shoot(string str)
10
11
12DEFINIERT IN
13============
14
15 /std/ranged_weapon.c
16
17
18ARGUMENTE
19=========
20
21 string str - Schusssyntax
22
23
24BESCHREIBUNG
25============
26
27 Kommandofunktion der Fernwaffe. Enthaelt die Vorbereitung und den Schuss.
28
29
30BEMERKUNGEN
31===========
32
33 Ist in der Fernwaffe mit AddCmd( ({"schiess", "schiesse"}), "cmd_shoot");
34 angebunden. Will man eine andere Syntax haben, kann man mit
35 AddCmd/RemoveCmd diese umsetzen.
36
37
38BEISPIELE
39=========
40
41 RemoveCmd(({"schiess", "schiesse"})); // entferne Default-Kommando
42 AddCmd(({"schleuder", "schleudere"}), #'cmd_shoot);
43
44
45SIEHE AUCH
46==========
47
48 Generell: P_AMMUNITION, P_SHOOTING_WC, P_STRETCH_TIME
49 Methoden: shoot_dam(L), cmd_shoot(L)
50 Kommandos: AddCmd(L), RemoveCmd(L)
51 Syntax: _unparsed_args(L)
52 Sonstiges: fernwaffen
53
5428.Jul 2014 Gloinson