Moderator: GZDoom Developers
The Defaults make sense for actors which have to be spawned with a generic function, but for other classes the proper way should be a constructor.
gameinfo
{
PlayerClasses = "TestZSClass"
}
class TestZSClass : DoomPlayer
{
override void PostBeginPlay()
{
Console.Printf("HI");
}
}
TNT1 A 0 MyFunction();
TNT1 A 0 { MyFunction(); }
Users browsing this forum: No registered users and 2 guests