Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.


Caravel Forum : DROD Boards : Feature Requests : Script Command: "Name"
New Topic New Poll Post Reply
Poster Message
Tahnan
Level: Smitemaster
Avatar
Rank Points: 2460
Registered: 11-14-2005
IP: Logged
icon Script Command: "Name" (+1)  
NPC names matter in two cases: what you see when you right-click them, and what you see in the speech log if they've spoken.

Right now, if you want a character who looks just like a tar technician but is named Harold, you have to create a custom character named "Harold" with the technician graphic. If your hold has an NPC or two, that's not so bad, but if you're building something with a lot of NPCs, it can get really tedious really fast. Plus, if your character gets renamed ("I'll call you Harry!"), you have to have him disappear and have a new character appear.

What would be cool is a "Name" script command that sets the name of the NPC.
07-06-2009 at 10:31 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Jatopian
Level: Smitemaster
Rank Points: 1842
Registered: 07-31-2005
IP: Logged
icon Re: Script Command: "Name" (0)  
This is a good idea and I support it.

____________________________
DROD has some really great music.
Make your pressure plates 3.0 style!
DROD architecture idea generator
07-06-2009 at 11:56 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
Samuel
Level: Delver
Avatar
Rank Points: 69
Registered: 07-08-2007
IP: Logged
icon Re: Script Command: "Name" (+1)  
Like this maybe:

Set "Name": Harold to NPC at xx,xx.

Also, if you wanted two NPC's to go to one specific square at different times, the scripting WILL conk up and they will both try to go there at the same time, so, say if you wanted each person to collect some gold from a certain square:

One script would say:

Wait for NPC "Harold" at 09,09 (example)
Set var gold + 10

Another would say:

Wait for NPC "I'll call you Harry" at 09,09 (example)

Instead of both saying:

Wait for NPC at 09,09 (example)

If both scripts said this it wouldn't work, so I am in support of this Name command.


____________________________
I believe in everything until it's
disproved. So I believe in fairies,
the myths, dragons. It all exists,
even if it's in your mind. Who's to
say that dreams and nightmares
aren't as real as the here and now?
John Lennon
07-07-2009 at 12:58 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3776
Registered: 12-28-2004
IP: Logged
icon Re: Script Command: "Name" (0)  
Or just add _MyName variable. Never mind me.

____________________________
My website

[Last edited by skell at 07-07-2009 04:09 PM]
07-07-2009 at 12:41 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
Monkey
Level: Master Delver
Avatar
Rank Points: 190
Registered: 03-21-2006
IP: Logged
icon Re: Script Command: "Name" (0)  
This is DROD, not DROD RPG. DROD only has global variables.

____________________________
lurking
07-07-2009 at 03:07 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3776
Registered: 12-28-2004
IP: Logged
icon Re: Script Command: "Name" (0)  
Monkey wrote:
This is DROD, not DROD RPG. DROD only has global variables.
Now that I think about, yep, I confused them. I think I played with DROD RPG far too much lately. Sorry.

____________________________
My website
07-07-2009 at 04:08 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 3776
Registered: 12-28-2004
IP: Logged
icon Re: Script Command: "Name" (+2)  
Now would you look at that - will be coming to 5.2 release! PR

____________________________
My website
10-02-2020 at 07:26 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 3145
Registered: 07-11-2014
IP: Logged
icon Re: Script Command: "Name" (+1)  
Can confirm working in 5.2.0.508 . Name updates when right-clicking the character and in the speech history.
06-08-2023 at 10:57 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : Script Command: "Name"
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.