Okay based on your example I tried a
Code:
MuzzleFlashLight = Spawn(Class'Koukou_PowerLight', self, , Location, Rotation, PointLightMovable'01_Weapons.WP_Archetypes.Electric_Light_Arch');
that get's me an error:
Code:
Error, Call to 'Spawn': bad or missing parameter 6
So I turned parameter 6 back into a variable and compliles just fine... can't really understand why it compiles that way to be honest :\ My var reads
Code:
var() Archetype PointLightMovable MuzzleFlashArchetype;
However this won't work in game either. It gets me the same log error reading
Code:
ScriptWarning: Accessed None 'MuzzleFlashLight'
The light Class itself spawns just fine with a simple
Code:
MuzzleFlashLight=spawn(class'Koukou_PowerLight',self);
Bookmarks