]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/triggers/misc/teleport_dest.qc
Merge branch 'master' into TimePath/unified_weapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / misc / teleport_dest.qc
1 #ifdef SVQC
2
3 spawnfunc(info_teleport_destination)
4 {
5         self.classname = "info_teleport_destination";
6
7         self.mangle = self.angles;
8         self.angles = '0 0 0';
9
10         //setorigin (self, self.origin + '0 0 27');     // To fix a mappers' habit as old as Quake
11         setorigin (self, self.origin);
12
13         IFTARGETED
14         {
15         }
16         else
17                 objerror ("^3Teleport destination without a targetname");
18 }
19
20 spawnfunc(misc_teleporter_dest)
21 {
22         spawnfunc_info_teleport_destination(this);
23 }
24
25 spawnfunc(target_teleporter)
26 {
27         spawnfunc_info_teleport_destination(this);
28 }
29
30 #endif