[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.9037249 [View]
File: 17 KB, 549x248, file.png [View same] [iqdb] [saucenao] [google]
9037249

So let's talk about vrsounds. Pic related is the entire script, save for the array of strings and respective sounds. It's an EVENT script that relies on GAMEEVENT_CHAT to receive chat messages as soon as they are sent. When executed, the script will retrieve a string of the last sent chat message, compare it to an array of strings, and if the message matches one of the compared strings, it plays its respective sound. It's a pretty simple script, but it does the job well.

Navigation
View posts[+24][+48][+96]