[error] Reader Script Error for Pawn4 ΐ-@
Posted: Sat Mar 14, 2015 2:06 pm
What exactly this error message is do not know.The script is that below and does not run at all,i get that message and the level runs all right except the pawn.
The log file says just that [error] Reader Script Error for Pawn4 ΐ-@
I would like to make the script run so i can make it work and fine tune it.Is it too messy,the spaces are too chaotic and i miss a bracket or something?I begin with the SpawnHand1,the rest Spawn orders are optional.
You take a look when ever you can.
and Pawn.ini
[Hand1]
actorname = HorrorManor\Characters\Monsters\Hand1.act
actorrotation = -90 180 0
actorscale = 1.0
fillcolor = 0 0 0
ambientcolor = 0 0 0
ambientlightfromfloor = true
subjecttogravity = false
boundingboxanimation = Idle
stencilshadows = true
The log file says just that [error] Reader Script Error for Pawn4 ΐ-@
I would like to make the script run so i can make it work and fine tune it.Is it too messy,the spaces are too chaotic and i miss a bracket or something?I begin with the SpawnHand1,the rest Spawn orders are optional.
You take a look when ever you can.
Code: Select all
{
SpawnAttachCap[ ()
{
Console(true);
Gravity(false);
BoxWidth(16);
BoxHeight(1);
AttachAccessory("Planks1BoardMedium1");
NewOrder("WaitPlanks1BoardMedium1");
} ]
WaitPlanks1BoardMedium1[ ()
{
PlayAnimation("Idle", true, "");
AddCollisionOrder("RemovePlanks1BoardMedium1");
RestartOrder();
} ]
RemovePlanks1BoardMedium1 ()
{
SetNoCollision();
DetachAccessory("Planks1BoardMedium1");
AddExplosion("WoodenFloorBigExplosion", "BONE02", 0, 0, 0);
LoopAnimation("Idle", 2, "");
NewOrder("SpawnHand1");
} ]
SpawnHand1[ ()
{
Console(true);
Gravity(false);
BoxWidth(4);
AttributeOrder("health", 16, "Destroyed");
NewOrder("Move");
} ]
Wait[ ()
{
PlayerDistOrder(64, "Move");
PlayAnimation("Idle", false, "");
RestartOrder();
} ]
Move[ ()
{
Move("Idle", 8, 0, 20, 0, "");
BlendToAnimation("Grab", 0.5, true, "");
Delay("Grab", 1, "");
BlendToAnimation("Idle", 0.5, true, "");
Move("Idle", 8, 0, -20, 0, "");
Delay("Idle", 4, "");
RestartOrder();
} ]
DoDamage[ ()
{
SetNoCollision();
AddExplosion("WoodenFloorBigExplosion", "BONE01", 0, 0, 0);
Remove(true);
} ]
Destroyed[ ()
{
SetNoCollision();
AddExplosion("WoodenFloorBigExplosion", "BONE01", 0, 0, 0);
Remove(true);
} ]
}
[Hand1]
actorname = HorrorManor\Characters\Monsters\Hand1.act
actorrotation = -90 180 0
actorscale = 1.0
fillcolor = 0 0 0
ambientcolor = 0 0 0
ambientlightfromfloor = true
subjecttogravity = false
boundingboxanimation = Idle
stencilshadows = true