How about adapting AGS scripting like in Blocky.
It might be a good way to handle character movement.
It might be a good way to handle character movement.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Crimson Wizard on Wed 01/08/2012 19:41:51Quote from: dbuske on Wed 01/08/2012 18:49:50Do you mean you just wrote a function with "Useinv" postfix without actually binding it to event? That's not correct then.
The code for Nano giving the inv item is in the room script.
Also, it really depends on what actually Marvin is. If it is a room object or hotspot, then event function should stay in the room. If it is a character, it must be put into GlobalScript.
ing room script
Nano is the main character. So, I should put Nano's giving the inv item with the if else in the global script? The giving the item is scripted as an event in the room script.
Quote from: Crimson Wizard on Tue 31/07/2012 13:11:32
But you have SAME command both under "if" and under "else"...
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.176 seconds with 14 queries.