mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-27 06:22:13 +00:00
- handle stayput for bosses.
The generic code is not ready yet so it has to be done manually.
This commit is contained in:
parent
240b24d771
commit
7b034b5eab
5 changed files with 35 additions and 0 deletions
|
@ -40,5 +40,12 @@ class DukeBoss1Stayput : DukeBoss1
|
||||||
override void PlayFTASound()
|
override void PlayFTASound()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void initialize()
|
||||||
|
{
|
||||||
|
super.initialize();
|
||||||
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,5 +20,12 @@ class DukeBoss2Stayput : DukeBoss2
|
||||||
{
|
{
|
||||||
pic "BOSS2STAYPUT";
|
pic "BOSS2STAYPUT";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void initialize()
|
||||||
|
{
|
||||||
|
super.initialize();
|
||||||
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,5 +20,12 @@ class DukeBoss3Stayput : DukeBoss3
|
||||||
{
|
{
|
||||||
pic "BOSS3STAYPUT";
|
pic "BOSS3STAYPUT";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void initialize()
|
||||||
|
{
|
||||||
|
super.initialize();
|
||||||
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,13 @@ class DukeBoss4Stayput : DukeBoss4
|
||||||
{
|
{
|
||||||
pic "BOSS4STAYPUT";
|
pic "BOSS4STAYPUT";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void initialize()
|
||||||
|
{
|
||||||
|
super.initialize();
|
||||||
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,13 @@ class DukeBoss5Stayput : DukeBoss5
|
||||||
{
|
{
|
||||||
pic "BOSS5STAYPUT";
|
pic "BOSS5STAYPUT";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override void initialize()
|
||||||
|
{
|
||||||
|
super.initialize();
|
||||||
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue