Blockland Forums > Suggestions & Requests
a flashlight item?
Gaz:
--- Quote from: Supethere on July 14, 2009, 10:13:29 AM ---I see what you are saying! A flashlight on a weapon! Okay. I would ask the Add-on makers to do some thing like that!
--- End quote ---
That is why its in Suggestions & Requests.
CopBlock:
Correct me if I'm wrong, but can't you just place a light inside of a flashlight model, but leave a hole where the light should come out, so the light would only come out of the hole?
pocketrocket300:
mmiters and lights are no collision, so no it wouldnt worx
Muffinmix:
Get a script to mount and Dismount an fxLight object to your flashlight (or even hand for that matter) when needed via stateScript and use something like this as the fxLightData:
--- Code: ---datablock fxLightData(FlashlightLight)
{
...
FlareOn = false;
...
AnimColor = false;
AnimBrightness = false;
AnimOffsets = true; //<<
AnimRotation = false;
...
StartOffset = "0 10 0"; //Not sure which axis you face, I think it's the Y one so I gave the light a distance of 10 along Y axis
EndOffset = "0 0 0";
...
OffsetKeys = "AAA"; //A is the StartOffset point, Z is the EndOffset point. Simply making it "A" also works I imagine.
...
OffsetTime = 5.0; //No difference what goes here, nothing's moving.
...
LerpOffset = true;//Doesn't make a difference here either, nothing's moving.
};
--- End code ---
pocketrocket300:
not sure exactly what all that crap mean except for that its scripting, but it somehow seems feasible.