mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 21:51:09 +00:00
8a7671ad8b
- renamed APowerMorph::Player to avoid accidental confusion with AActor::player, which in scripting is the same due to case insensitvity. - renamed save key for above variable.
30 lines
450 B
Text
30 lines
450 B
Text
class MorphProjectile : Actor native
|
|
{
|
|
|
|
native Class<PlayerPawn> PlayerClass;
|
|
native Class<Actor> MonsterClass, MorphFlash, UnMorphFlash;
|
|
native int Duration, MorphStyle;
|
|
|
|
Default
|
|
{
|
|
Damage 1;
|
|
Projectile;
|
|
-ACTIVATEIMPACT
|
|
-ACTIVATEPCROSS
|
|
}
|
|
}
|
|
|
|
class MorphedMonster : Actor native
|
|
{
|
|
native Actor UnmorphedMe;
|
|
native int UnmorphTime, MorphStyle;
|
|
native Class<Actor> MorphExitFlash;
|
|
|
|
Default
|
|
{
|
|
Monster;
|
|
-COUNTKILL
|
|
+FLOORCLIP
|
|
}
|
|
}
|
|
|