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