Add Rule_BaseRespawn which sets Rule_Relaunch to base respawn mode in order to prevent breaking scenarios

alut-include-path
Fulgen301 2017-03-25 14:28:18 +01:00
parent a4eacd7937
commit 13303c98af
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
[DefCore]
id=Rule_BaseRespawn
Version=8,0
Category=C4D_StaticBack | C4D_Rule
Width=32
Height=32
Offset=-16,-16

View File

@ -0,0 +1,7 @@
/* Converts itself to the Rule_Relaunch rule. */
protected func Construction()
{
GetRelaunchRule()->SetBaseRespawn(true);
return RemoveObject();
}