mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Disabled deletion/creation of shadow barrier and re-enabled updating position based on mouse position.
This commit is contained in:
parent
c05c1f6ddb
commit
4c0ca772e8
1 changed files with 7 additions and 6 deletions
|
|
@ -125,12 +125,13 @@ namespace SceneManager
|
||||||
DisableBarrierMenuOptionsIfShadowConeTooFar();
|
DisableBarrierMenuOptionsIfShadowConeTooFar();
|
||||||
if (shadowBarrier)
|
if (shadowBarrier)
|
||||||
{
|
{
|
||||||
shadowBarrier.Delete();
|
// Delete and re-create for testing purposes.. Parks' stop light prop
|
||||||
CreateShadowBarrier();
|
//shadowBarrier.Delete();
|
||||||
//shadowBarrier.Heading = rotateBarrier.Value;
|
//CreateShadowBarrier();
|
||||||
//shadowBarrier.Position = MousePositionInWorld.GetPositionForBarrier;
|
shadowBarrier.Heading = rotateBarrier.Value;
|
||||||
//Rage.Native.NativeFunction.Natives.PLACE_OBJECT_ON_GROUND_PROPERLY(shadowBarrier);
|
shadowBarrier.Position = MousePositionInWorld.GetPositionForBarrier;
|
||||||
//Rage.Native.NativeFunction.Natives.SET_ENTITY_TRAFFICLIGHT_OVERRIDE(shadowBarrier, setBarrierTrafficLight.Index);
|
Rage.Native.NativeFunction.Natives.PLACE_OBJECT_ON_GROUND_PROPERLY(shadowBarrier);
|
||||||
|
Rage.Native.NativeFunction.Natives.SET_ENTITY_TRAFFICLIGHT_OVERRIDE(shadowBarrier, setBarrierTrafficLight.Index);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DisableBarrierMenuOptionsIfShadowConeTooFar()
|
void DisableBarrierMenuOptionsIfShadowConeTooFar()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue