blob: a647147bd3896129892296dcbdec8007f8c43102 [file] [log] [blame]
Zesstra18626972017-01-31 10:38:27 +01001P_RANGE
2=======
3
4NAME
5----
6::
7
8 P_RANGE "range"
9
10DEFINIERT IN
11------------
12::
13
14 <combat.h>
15
16BESCHREIBUNG
17------------
18::
19
20 Legt die Reichweite einer Schusswaffe fest. Ist ein Schuetze in einem
21 Raum mit gueltigem P_TARGET_AREA (andere Raum) oder environment() und
22 ist fuer diesen Raum P_SHOOTING_AREA festgelegt, dann kann er mit seiner
23 Schusswaffe in diesen anderen Raum schiessen, wenn die P_RANGE groesser
24 als P_SHOOTING_AREA ist.
25
26BEISPIELE
27---------
28::
29
30 // Langbogen mit 100 Reichweite
31 SetProp(P_RANGE, 100);
32
33SIEHE AUCH
34----------
35::
36
37 Generell: P_AMMUNITION, P_SHOOTING_WC, P_STRETCH_TIME
38 Methoden: FindRangedTarget(L), shoot_dam(L), cmd_shoot(L)
39 Gebiet: P_SHOOTING_AREA, P_TARGET_AREA
40 Sonstiges: fernwaffen
41
4229.Jul 2014 Gloinson
43