MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | cmd_shoot() |
| 2 | |
| 3 | FUNKTION: |
| 4 | static int cmd_shoot(string str) |
| 5 | |
| 6 | DEFINIERT IN: |
| 7 | /std/ranged_weapon.c |
| 8 | |
| 9 | ARGUMENTE: |
| 10 | string str - Schusssyntax |
| 11 | |
| 12 | BESCHREIBUNG: |
| 13 | Kommandofunktion der Fernwaffe. Enthaelt die Vorbereitung und den Schuss. |
| 14 | |
| 15 | BEMERKUNGEN: |
| 16 | Ist in der Fernwaffe mit AddCmd( ({"schiess", "schiesse"}), "cmd_shoot"); |
| 17 | angebunden. Will man eine andere Syntax haben, kann man mit |
| 18 | AddCmd/RemoveCmd diese umsetzen. |
| 19 | |
| 20 | BEISPIELE: |
| 21 | RemoveCmd(({"schiess", "schiesse"})); // entferne Default-Kommando |
| 22 | AddCmd(({"schleuder", "schleudere"}), #'cmd_shoot); |
| 23 | |
| 24 | SIEHE AUCH: |
| 25 | Generell: P_AMMUNITION, P_SHOOTING_WC, P_STRETCH_TIME |
| 26 | Methoden: shoot_dam(L), cmd_shoot(L) |
| 27 | Kommandos: AddCmd(L), RemoveCmd(L) |
| 28 | Syntax: _unparsed_args(L) |
| 29 | Sonstiges: fernwaffen |
| 30 | |
| 31 | 28.Jul 2014 Gloinson |