Scripts / [SOLVED] door.lua - third person issue

Author
Message
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 24th Mar 2019 17:05
Hi guys, i've been working some third person isometric entities the last couple of days, and i have hit a major snag.

door.lua does not work in third person mode, here's a video:



Looking through it, i think it's something to do with player visibility and the plrvisible checks, i've tried stripping them out, but i keep messing it up and breaking it completely.

Any chance somebody could do a quick rewrite of door.lua so it works on just distanc checks instead of visibility for me? Because this is driving me nuts and completely stalling my isometric dungeon kit.

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.

The author of this post has marked a post as an answer.

Go to answer
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 24th Mar 2019 17:27
This post has been marked by the post author as the answer.
Never mind, i managed to do it, if anyone else is having the same issue, i've attached the altered script below...

Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-27 06:10:09
Your offset time is: 2024-04-27 06:10:09