Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Expression 2 v
« Previous 1 … 3 4 5 6 7 8 Next »
Question about E2 name detection
Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Question about E2 name detection
23-06-2015, 04:48 PM, (This post was last modified: 23-06-2015, 04:52 PM by udop1.)
#1
udop1 Offline
TSCM Member
***
Posts: 62
Threads: 11
Joined: Dec 2014
Question about E2 name detection
Does anyone one know how to make an E2 detect what name you have, eg for it to detect that you are called udop1 or bob? If so how? If you could help that would be great!

Thanks.

[Ancients]SharpOB: Drug Trip
[- A.E.G.I.S -]тѕсм.The17thDoctor: No a trip
[Ancients]SharpOB: Like falling over?
[- A.E.G.I.S -]тѕсм.The17thDoctor: No like voyage
[Ancients]SharpOB: Nobody uses that word
[- A.E.G.I.S -]тѕсм.The17thDoctor: I'm French
Find
Reply
23-06-2015, 04:58 PM,
#2
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Question about E2 name detection
Have you tried something like this?:

Code:
Name = entity():owner():name() print(Name)
Find
Reply
23-06-2015, 05:00 PM,
#3
udop1 Offline
TSCM Member
***
Posts: 62
Threads: 11
Joined: Dec 2014
RE: Question about E2 name detection
Would you know how to make the E2 get the owner of the E2's name and put it into a hologram showing it, I have done the hologram part Im just not sure how to make it find your name and use it

[Ancients]SharpOB: Drug Trip
[- A.E.G.I.S -]тѕсм.The17thDoctor: No a trip
[Ancients]SharpOB: Like falling over?
[- A.E.G.I.S -]тѕсм.The17thDoctor: No like voyage
[Ancients]SharpOB: Nobody uses that word
[- A.E.G.I.S -]тѕсм.The17thDoctor: I'm French
Find
Reply
23-06-2015, 06:01 PM,
#4
SuperPlayer Offline
TSCM Super Member
****
Posts: 234
Threads: 30
Joined: Oct 2014
RE: Question about E2 name detection
1.) Take the Name
2.) Splite the Name so you have every single letter on it own in an array
3.) Find the model belonging to the letter. It should be in SProps
4.) Set the holo model like models/path/letter_+NameSplit
The last point you better do with
for I=1,NameSplit:count(){
HoloConfusedetModel(models/path/letter_+NameSplit)
}

Lets hope i didnt mix Starfall with e2. I will test it when i am next on
Find
Reply
24-06-2015, 03:43 PM,
#5
udop1 Offline
TSCM Member
***
Posts: 62
Threads: 11
Joined: Dec 2014
RE: Question about E2 name detection
I have no idea how to do that Undecided

[Ancients]SharpOB: Drug Trip
[- A.E.G.I.S -]тѕсм.The17thDoctor: No a trip
[Ancients]SharpOB: Like falling over?
[- A.E.G.I.S -]тѕсм.The17thDoctor: No like voyage
[Ancients]SharpOB: Nobody uses that word
[- A.E.G.I.S -]тѕсм.The17thDoctor: I'm French
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.