mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-30 16:01:02 +00:00
26 lines
381 B
Text
26 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.
|
|
}
|
|
}
|