Announcement: Remember: you are giving away your fantastic ideas for free, and somebody else might even make money from them (or appear to). That's just how the world works! If you're worried about it, maybe you shouldn't post your ideas here.


Caravel Forum : DROD Boards : Feature Requests : Scripting Request (Move Up/Right/Down/Left)
New Topic New Poll Post Reply
Poster Message
Banjooie
Level: Smitemaster
Avatar
Rank Points: 1645
Registered: 12-12-2004
IP: Logged
icon Scripting Request (0)  
Alright. I wanna create code so that, say.

Whenever Beethro bumps into an obstacle, the character moves up one. Whenever Beethro teeters over a pit, the character moves right one. Whenever Beethro.... etc.

I can say 'Go To', but that's not dynamic.
06-03-2005 at 09:09 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
schep
Level: Smitemaster
Avatar
Rank Points: 865
Registered: 03-01-2005
IP: Logged
icon Re: Scripting Request (0)  
You can do this sort of thing if you'll settle for NW/NE/SW/SE as the directions it moves. Something like
If ... go to "X"
Move to (0,0)

will make the character attempt to move one step NW. The label probably doesn't matter, since it will only jump there if the character manages to reach the very corner of the room.

But relative coordinates in general for scripting seems to be a common feature request. No clue whether they will show up in 3.0.
06-03-2005 at 03:49 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5141
Registered: 02-04-2003
IP: Logged
icon Re: Scripting Request (+1)  
schep wrote:
But relative coordinates in general for scripting seems to be a common feature request. No clue whether they will show up in 3.0.
This will be included in 3.0.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
06-03-2005 at 05:45 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Feature Requests : Scripting Request (Move Up/Right/Down/Left)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.