It is currently Tue Sep 07, 2010 6:45 pm




Post new topic Reply to topic  [ 5 posts ] 
 The next big exciting enhancement for the next release... 
Author Message
Online
Site Admin
User avatar

Joined: Thu Jan 10, 2008 4:32 pm
Posts: 1072
Post The next big exciting enhancement for the next release...
Well, it's not quite as big as the javascripting abilities, but I've added three new "Loop" conditions to rags.

You can now Loop through all rooms, Characters, or Items in the game.

When you're in the loop, you can reference the names and id's of the items to perform commands and conditional checks.

Right now, when looping through Rooms, you can reference [room.name] and [room.id] (These all show up on the Alt-V command, so you don't have to memorize them.)

For Items, we have
[item.name] and [item.id]

for characters, we only have
[char.name]

there is no unique identifier for characters.

I will provide a sample file when I release the next beta.

Thanks,
Steve


Thu Apr 02, 2009 11:08 am
Profile
User avatar

Joined: Thu Jan 10, 2008 5:07 pm
Posts: 187
Post Re: The next big exciting enhancement for the next release...
Thanks Steve!

This is something I've never asked but that from the beginning I felt as missing in the engine! Bravo! :D

_________________
Trucla
Better never than late!


Thu Apr 02, 2009 11:22 am
Profile
User avatar

Joined: Thu Jan 10, 2008 5:07 pm
Posts: 187
Post Re: The next big exciting enhancement for the next release...
I've been playing a bit with the loop and associate variables, and have a request about the last ones, ie,
[room.name]
[item.name]
[char.name], etc.

Can you make it possible to use these variables out of the loop? Of course provided we are dealing with a specific room, item or character. This would be a nice Easter gift... :)

Once I spoke about Easter, best season's greetings to all ragsters!!! :D

Thanks!

_________________
Trucla
Better never than late!


Thu Apr 02, 2009 3:10 pm
Profile
Online
Site Admin
User avatar

Joined: Thu Jan 10, 2008 4:32 pm
Posts: 1072
Post Re: The next big exciting enhancement for the next release...
Trucla wrote:
I've been playing a bit with the loop and associate variables, and have a request about the last ones, ie,
[room.name]
[item.name]
[char.name], etc.

Can you make it possible to use these variables out of the loop? Of course provided we are dealing with a specific room, item or character. This would be a nice Easter gift... :)

Once I spoke about Easter, best season's greetings to all ragsters!!! :D

Thanks!


Hmm...I'll look into it.

Thanks,
Steve


Thu Apr 02, 2009 3:16 pm
Profile
User avatar

Joined: Thu Jan 10, 2008 5:07 pm
Posts: 187
Post Re: The next big exciting enhancement for the next release...
slanesteve wrote:
Hmm...I'll look into it.

Thanks,
Steve
You moved this thread to the "Completed enhancements". Did you forget to "look into it"?

Thanks!

_________________
Trucla
Better never than late!


Sun Jan 31, 2010 7:54 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.