mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-28 15:02:24 +00:00
27 lines
381 B
Text
27 lines
381 B
Text
|
class DukeCommander : DukeActor
|
||
|
{
|
||
|
default
|
||
|
{
|
||
|
pic "COMMANDER";
|
||
|
}
|
||
|
|
||
|
override void PlayFTASound()
|
||
|
{
|
||
|
self.PlayActorSound("COMM_RECOG");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class DukeCommanderStayput: DukeCommander
|
||
|
{
|
||
|
default
|
||
|
{
|
||
|
pic "COMMANDERSTAYPUT";
|
||
|
}
|
||
|
|
||
|
override void initialize()
|
||
|
{
|
||
|
super.initialize();
|
||
|
self.actorstayput = self.sector; // make this a flag once everything has been exported.
|
||
|
}
|
||
|
}
|