My first script, and a problem

Topics regarding Scripting with Reality Factory
Ryan
Posts: 161
Joined: Tue May 01, 2007 5:31 am
Location: Tucson Arizona

Post by Ryan »

What do I change in the script??? Could you maybe show me what the script should look like with this change?
Those who have all the answers, are never up to date on the questions.
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Post by Juutis »

What do I change in the script??? Could you maybe show me what the script should look like with this change?
I think it would go to the weapon definition in your weapon.ini. But that's not the problem here.


I tested the script and weapon definition with a direct copy-paste and it worked just like it's supposed to. So either your pawn setup in the level is not right or your projectile deals no damage. Make sure that the projectile definition contais line 'damage = ...' in weapon.ini, and that the damage is greater than 0.

Also make sure that the Pawn entity attributes are correct in the level editor.
So, you can see the pawn's actor? That means that the PawnType field is correct.
The console appears -> ScriptName is correct (btw, always remember to add the .s extension in the field).
So the SpawnOrder must be wrong. Make sure it's exactly like in the script: Spawn.
Pain is only psychological.
Post Reply