Adjustments.
This commit is contained in:
parent
2312128864
commit
2587d6c505
14 changed files with 275 additions and 59 deletions
|
|
@ -68,14 +68,14 @@ Class URocketTrail : Actor
|
|||
override void PostBeginPlay()
|
||||
{
|
||||
Super.PostBeginPlay();
|
||||
let l = Spawn("RocketLight",pos);
|
||||
l.target = self;
|
||||
A_AttachLight('RocketLight',DynamicLight.PointLight,Color(255,224,128),32,32);
|
||||
}
|
||||
override void Tick()
|
||||
{
|
||||
Super.Tick();
|
||||
if ( !target || target.InStateSequence(target.CurState,target.FindState("Death")) )
|
||||
if ( !target || !target.bMISSILE )
|
||||
{
|
||||
A_RemoveLight('RocketLight');
|
||||
Destroy();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue