Too many of my problem come only from a certain few levels, including Blades of Death...
For instance, I've got this simple pup cycling cog:
It works in 95% of my levels, the other 5% includes Blades of Death and Drazen.
BoD isn't that big, so it can't be a size thing, but it must have something to do with...I dunno, the complexity of the map...(?)
Anyway, what I'd like is: the answer to this stupid Blades of Death mystery; and if you think I'll need it after that, an explanation on how to make this cog work...in Blades of Death.
Thanks guys,
-TIE
[edit - Oh, right, and I forgot to mention: Those triggers are sent to my patch's client cog, which handles all the triggers in my patch (5, I think). All the other triggers work in every level, it's just the ones from this particular cog.]
[This message has been edited by TIE_14 (edited November 01, 2002).]
For instance, I've got this simple pup cycling cog:
Code:
# Jedi Knight Cog Script
#
# ITEM_KEYYELLOW.COG
#
# Toggles the saber stances
#
#
# This Cog is Not supported by LucasArts Entertainment Co
symbols
message activated
message killed
message startup
thing player local
sound saberswitch=lvrclik1.wav local
int stance local
end
# ========================================================================================
code
startup:
stance = 0;
return;
activated:
if (GetCurWeapon(player) == 10)
{
if(stance == 0)
{
SendTrigger(-1, 18881, player, 0, 0, 0);
Print("Side Stance");
stance = 1;
}
else
if(stance == 1)
{
SendTrigger(-1, 19991, player, 0, 0, 0);
Print("Low Stance");
stance = 2;
}
else
if(stance == 2)
{
SendTrigger(-1, 12221, player, 0, 0, 0);
Print("Forward Stance");
stance = 0;
}
PlaySoundThing(saberswitch, player, 1.0, -1, -1, 0x80);
SetBinWait(player, 48, 0.5);
}
return;
#---------------------------------------------------
killed:
SendTrigger(-1, 12221, player, 0, 0, 0);
stance = 0;
return;
endIt works in 95% of my levels, the other 5% includes Blades of Death and Drazen.
BoD isn't that big, so it can't be a size thing, but it must have something to do with...I dunno, the complexity of the map...(?)
Anyway, what I'd like is: the answer to this stupid Blades of Death mystery; and if you think I'll need it after that, an explanation on how to make this cog work...in Blades of Death.
Thanks guys,
-TIE
[edit - Oh, right, and I forgot to mention: Those triggers are sent to my patch's client cog, which handles all the triggers in my patch (5, I think). All the other triggers work in every level, it's just the ones from this particular cog.]
[This message has been edited by TIE_14 (edited November 01, 2002).]