Trying to make Mark and Recall spells like in Elder Scrolls.
For those who don't know, you cast Mark and that marks the spot. Then you cast recall and are teleported to the spot you marked.
The way these spells work is being cast in the menu, and their effect is to trigger a common event.
Here is the event for the Mark spell:
I added the thing to show the messages in my attempt to figure out why this doesn't work. I wanted to check if it was even storing the variables at all.
Here is the event for the Recall spell:
For some reason, the Mark spell is triggering immediately on game start.
The console is saying that markspell_room is not defined.
When I cast Mark the messages pop up, but only the first line "Mark spell data:". The other lines aren't there at all.
Nothing else happens.
When I cast recall nothing happens at all, except the console again says that markspell_room is not defined. It is though?
For those who don't know, you cast Mark and that marks the spot. Then you cast recall and are teleported to the spot you marked.
The way these spells work is being cast in the menu, and their effect is to trigger a common event.
Here is the event for the Mark spell:
I added the thing to show the messages in my attempt to figure out why this doesn't work. I wanted to check if it was even storing the variables at all.
Here is the event for the Recall spell:
For some reason, the Mark spell is triggering immediately on game start.
The console is saying that markspell_room is not defined.
When I cast Mark the messages pop up, but only the first line "Mark spell data:". The other lines aren't there at all.
Nothing else happens.
When I cast recall nothing happens at all, except the console again says that markspell_room is not defined. It is though?