Page 1 of 1

Flashlight vertical?

Posted: Wed Mar 29, 2006 8:33 pm
by incenseman2003
This script allows the flashlight to work horizontally. How would one make it work vertically as well, to look everywhere the player does?

{
Spawn[ ()
{
SetNoCollision();
FadeOut(0, 0);
LowLevel("Update");
//MoveForward("Idle", 10000, 10000, "");
}]

Update[ ()
{
MatchPlayerAngles();
PositionToPlayer(0, 0, 0);
PositionToPlayer(0, 0, GetCollideDistance("Bip01", 0, 0, 500000)-20, true);

RestartOrder();
}]
}

Posted: Wed Mar 29, 2006 8:38 pm
by QuestOfDreams
:roll: how many flashlight topics do we need?

viewtopic.php?t=490

[Locked]