self.Spawn(kActor_AI_Raptoid, self.Origin(), 0.0f, 0.0f, 0.0f, true, nRegionIdx);
Ok so I’m having trouble figuring out where exactly this script needs to be called on. I thought for sure the enemy defs would call a certain script like the weapons but they do not. So how do I get them to call on a custom script. And where is the default script for the enemies? I need to know what void statements are permitted.
Also is it possible to make a friendly turret?
Ok I've been trying to get something like this to work:Code: [Select]self.Spawn(kActor_AI_Raptoid, self.Origin(), 0.0f, 0.0f, 0.0f, true, nRegionIdx);But it never works. What am I doing wrong here?
ActorFactory.Spawn(kActor_AI_Raptoid, self.Origin(), 0.0f, 0.0f, 0.0f, true, nRegionIdx);
Is there an event number for fire damage? I can't find one for shock either.
Also has anybody else noticed what I was asking about before? The exploding barrels using the same material as humans or creatures when hitting them with explosive projectiles?