Set character startingpoint?(solved)

Started by wiseman, Mon 02/08/2004 15:58:00

Previous topic - Next topic

wiseman

Well, setting startpoint for character in startingroom was no trouble, since the options right in front off you.

But I'm having trouble to understand how to set startpoint when moving into next room? (I'm not a programmer!) Now, the character sometimes start in bottom, and sometimes in top op the next room. How do I easily set the startingpoint for this?

Sorry for dumb question(s), but hey, we arnt all perfect!Ã,  ;D

Darth Mandarb

Look up NewRoomEx

It's what you're looking for.

wiseman

#2
Quote from: Darth Mandarb on Mon 02/08/2004 16:02:59
Look up NewRoomEx

It's what you're looking for.

Yes, thank you that is is!
But again, I'm no programmer (only got very simple html skills, but i guess better then none!, and wonder where should I put this code (and how do I get there? I'v tried with "edit script" in roomsetting, and just copy & paste
"NewRoomEx(4,100,50);", but I get an error msg.
)
I have read thrue the tutorial, but it dosnt explain this, i think?

I have understod how it works, and i will just add ",100,50" for example after the "newroom" line in script. What I dont get to, is where to find that script! :p

Darth Mandarb

If you're not a programmer I would suggest staying out of the script.

Just use the interaction editor in AGS (it's the "i" button in each room).

So, if you want the player to move to a different room (at specific coordinates) use this interaction from the list:

Player - Go to a different room (at specific co-oridnates)
Once you select this, it's pretty self explanatory to make it work (you'll see!)

If you want the character to do the move when you step on a region, select that region's interactions (by clicking the "i" while you're in the region editor and on the specific region's color you want to perform the interaction)

If you want the character to move to a different room when he walks off the edge of the screen use the room's interactions (by clicking the "i" in the general area for the room)

Good luck.

wiseman

Ahh, thanx you! Thats how I should do yes :)

I did figure it out now here though, with new interaction, run script & then just copy & paste the line you gave me before. And it worked.

Thanx alot for your help!

Darth Mandarb

No problem!Ã,  Glad to help.

Edit your first post and put [SOLVED] or something in the title so people know your question is/was answered! :)

SMF spam blocked by CleanTalk