Scripts / Script for showing players position on the map

Author
Message
perelect
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 15th Apr 2015 05:05
Does some one have a script to show the players position on the map in x,y,z
I remember seeing one somewhere in the forum but I cannot find it.

I remember reading that x and z coordinates are reversed in this engine. please correct me if I am wrong.

thanks

perelect
I may be old, but at least my memory still ....mmm
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 15th Apr 2015 08:19


Attach to dynamic entity and make it always active
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
perelect
9
Years of Service
User Offline
Joined: 27th Mar 2015
Location: Australia
Posted: 15th Apr 2015 12:30 Edited at: 18th Apr 2015 19:46
Thanks smallg for you help.
I ended getting my first script working...
You wouldn't want to be paying me buy the hour for scripting.
But it done now.


I may be old, but at least my memory still ....hmmm

Pavilion dv6 Notebook, Intel(R) Core(TM) i5-2410M CPU @ 2.30 GHz, Win 7 64 bit, 4 GB Ram, Radeon (TM) HD 6490M, 2789 MB Memory. Resolution 1366x768, Intel(R) HD Graphics 3000.

Attachments

Login to view attachments
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 15th Apr 2015 17:00
i can still spend hours trying to figure problems out, it's part of the coding experience, even if you know all the commands, getting them to respond correctly or with the correct maths is always an issue that will bite sometimes.
it gets easier of course as you learn more but naturally the more you learn the more complicated the scripts you create become and so the more you need to learn, it's a great reward to be able to see your idea's come to life though
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
GoDevils
10
Years of Service
User Offline
Joined: 24th Sep 2014
Location: Arizona USA
Posted: 15th Apr 2015 20:33
This is the same as smallg but with the math.floor command so you don't get all the numbers after the decimal point.




"THERE IS NO SPOON"

AMD 6300 6 core 3.5 ghz, Windows 8.1, 8GB ram, GTX 650 2GB ram

Login to post a reply

Server time is: 2024-11-10 02:26:10
Your offset time is: 2024-11-10 02:26:10