ok i have no idea how to use this site so sorry if this is skewed but here's the room before it
(https://media.discordapp.net/attachments/979154784680550493/1391908295761199225/image.png?ex=686d9b1e&is=686c499e&hm=cdde9977659a3202ee74299771a484c308d1dd719a160c3884727138eeb7d468&=&format=webp&quality=lossless&width=1148&height=765)
and then the room after it (which is where the issues at)
(https://media.discordapp.net/attachments/979154784680550493/1391908394826465301/image.png?ex=686d9b35&is=686c49b5&hm=5cd43cf087da1409813c3ea0e693717f926910dc1fed51f33ec8cf6e85d0d336&=&format=webp&quality=lossless&width=1111&height=844)
cEgo in this scenario just stands there and wont do anything
(by the way cego is seperate from the player)
i can't tell if this is a logical problem that i'm not seeing or what because this seems pretty simple but HELP WOULD BE REALLY APPRECIATED!!
Name your hotspots and call them by name.
What's the name of your initial player character?
Why are you mixing using "player" to refer to one character and some other character that can also be a player character you call by name? This can cause issues when they are both the same person.
Change room is a delayed action that happens after others no matter when you call it.
How do you switch between both rooms? Is it hotspot 1 or 2 you are clicking? Please name your hotspots.
Screenshots of code... haven't seen those in a long time :-D
Please post code in text form. Like this:
function abc() {
Display("ABC");
}
Anyway, it's a very common beginner's problem: you typed or pasted the function into the script yourself and therefore AGS doesn't know it exists. You need to open the room's event pane (thunderbolt icon) and link the function by pasting its name into the field next to the event. Check the event pane in the room where it's working to see how it's supposed to be set up.
(See also https://adventuregamestudio.github.io/ags-manual/acintro3.html#adding-some-interaction)
thanks!! totally overlooked that (and the insert code button)
Quote from: Khris on Tue 08/07/2025 06:49:25Anyway, it's a very common beginner's problem: you typed or pasted the function into the script yourself and therefore AGS doesn't know it exists.
Once AGS 4 is officially released we can hopefully put an end to this issue once and for all (as it produces warnings for unlinked event handlers).
These warnings are produced in ags3 since 3.6.2.
Quote from: Crimson Wizard on Sun 15/06/2025 00:58:22Editor:
- Editor will now report any missing script functions that are assigned to events, but not present in script, as warnings when compiling the game.
- Editor will now report any script functions that *look like* event functions, but not assigned to corresponding events, as warnings when compiling the game.
Quote from: Snarky on Tue 08/07/2025 09:24:04Once AGS 4 is officially released we can hopefully put an end to this issue once and for all (as it produces warnings for unlinked event handlers).
Yes, this is already in 3.6.2, and I've been already getting questions about older templates/projects posting new warnings.
Of course there's a chance that something is not working right in that regard, especially since rooms are compiled separately from the game scripts.
@updoggg which version of AGS are you using?