#dialog system

1 messages · Page 1 of 1 (latest)

wintry plaza
#

also in that dialogstartdialog function, i put that in as a test

wraith merlin
#

so

#

uh

wintry plaza
#

woah woah woah

#

look at the images

#

to really get a good understanding

#

pls

#

especially the code that has onserverevent

#

or wtv its called

wraith merlin
#

ok

#

so

#

elaborate on why you created an attribute on the rig

#

what does it store

#

:GetAttribute("NPC") and :SetAttribute("npc") 😭

wintry plaza
#

im basically trying to store the dialogue for that rig, then in one of the scripts it checks if the dialogue matches the rig

wraith merlin
#

you dont need all of this

#

i made like 3 separate dialog systems for 3 separate games

wintry plaza
#

but the thing is im doing it in a billboard gui

#

like the dialogue

#

the responses in the billboard

#

because i dont want it to be in a screengui ill be honest

wraith merlin
#

you should do it on client

wintry plaza
#

for my game it looks good

wraith merlin
#

and put it on playergui

wintry plaza
wraith merlin
wintry plaza
wraith merlin
#

it only registers on client

#

set the adornee to the part/attachment you want

wintry plaza
#

i have

#

to the rigs torso

wraith merlin
#

what

#

what was that

#

was i hallucinating

wintry plaza
#

thumbs up by accident

wraith merlin
#

oh

#

so

ember vaultBOT
#

studio** You are now Level 9! **studio

wraith merlin
#

on image 2

#

send the npc's name

#

to StartDialog

#

honestly this is too inefficient

#

ill send u 1 of my dialog system

#

hol on

wintry plaza
#

ok

wintry plaza
#

with billboard guis

#

i reckon i can try with a normal screengui

wraith merlin
#

you can customize it to be on billboardguis

#

would take some time

#

but possible

wintry plaza
#

i know

#

thats whats happening w me rn 💀

wraith merlin
#

hol up

wintry plaza
#

i just realisd

wraith merlin
#

?

wintry plaza
#

i can remove the check
if rig has attribute = npc.Name and put it somewhere else

#

in like the module script or sm

#

and just remove the remotevent

#

you think that would work

wraith merlin
#

why i said inefficient

#

my system uses keys

#

and very customizable for every option the player chooses

wintry plaza
#

ive never been introduced to keys before

wraith merlin
#

no no its just strings

#

like

wintry plaza
ember vaultBOT
#

studio** You are now Level 9! **studio

wraith merlin
#

hold on lemme show u

wintry plaza
#

that would just cancerous for my game

#

cus implementing a remoteevent for each dialogue and changing the waitforchild get event

wintry plaza
wraith merlin
#

whats the use of it for every option 😭

#

what i meant is

#

theres 1 remote event

#

the client will fire a key and an option to the dialog to the server

#

like remote:FireServer("BobDialog", "Goodbye")

#

and then yk

#

stuff happens

wintry plaza
#

ohh

#

i thought u meant the completely different thing

wintry plaza
#

then i just ran out of ideas

#

so in my localscript am i basically just gonna use the one of the dialogues and get it then put it in my localscript with the npc name

wraith merlin
#

wait wait

#

i just found my 3rd dialog system

#

this is what it looks like

#

basically, this is just a test

#

you want this one or should i get my second dialog system on another account?

wintry plaza
#

na its alr

#

yours is in one script though

#

now that i know u can put like

#

strings in fireservers

#

how could i use it in my module script

wraith merlin
#

put an argument in your StartDialog

#

function

#

like

#

StartDialog(npcName)

wintry plaza
#

yes

#

i was messing about and

wraith merlin
#

and?

wintry plaza
#

omg 😱 😱😱

wraith merlin
#

niec

#

now time to implement the actual dialog 😭

wintry plaza
#

but

#

it still prints both

#

ignore the {...} part

#

its jus printing the table

#

i needa fix the fireserver localscript

wraith merlin
#

just add a tag to the player

#

and dont interact if player has that tag

wintry plaza
#

in the localscript?

#

or the scrip

#

t

#

cus that can go in 2 ways

wraith merlin
#

in the script

#

if player has that tag, dont StartDialog

#

wait here i found it

#

my second dialog system

#

finally vro 😭

#

zamnn

#

i made this a long time ago

#

js for nothing

wintry plaza
#

bruh

wraith merlin
#

A

#

my internet went out

#

i had to troubleshoot

#

anyway

#

i made this like 2 years ago 😭

wintry plaza
#

sick coding skills you had in 2024

wraith merlin
#

idk how to explain this

#

its kinda hard coded

#

because of the exp

#

i think

#

but

#

i think this tells you everything

wintry plaza
#

it does

wintry plaza
#

i learnt a tiny bit about events

#

and ts what i got