Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

I would like something like...

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sun Dec 10, 2006 2:07 am    Post subject: I would like something like... Reply with quote

I would like something that says

if any doors (=whatever is the number of the door) is used then, begin...

Could somoene help me to say it in plotscript language?

As always, thanks in advance for the help!

Bis_Senchi
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Sun Dec 10, 2006 2:21 am    Post subject: Reply with quote

Just put a step-on NPC on the door tile.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sun Dec 10, 2006 7:38 am    Post subject: Thanks! I came with an idea Reply with quote

It works very well! Thanks a lot!

Would anybody knows if there is a command that returns our current amount of money? If not I think that I would a good thing to be able to store our money in a global variable so that we can use it later! Don't you think so?

Thanks for answering so quickly!


Last edited by bis_senchi on Sun Dec 10, 2006 9:44 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Sun Dec 10, 2006 3:10 pm    Post subject: Reply with quote

You can use the paymoney command to figure out how much money the player has. Make sure to give it back.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Sun Dec 10, 2006 3:21 pm    Post subject: Reply with quote

The next update (and the current nightly wip builds) allow you to get and set money with the '"party money" and "set money" commands.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Sun Dec 10, 2006 3:22 pm    Post subject: Reply with quote

This command has been made, I'm almost positive. It is probably in the nightly, and should be in Ubersetzung (which should be soon, it seems). Can a developer confirm this (and give the command, if it exists)?
_________________
My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161

This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com
Back to top
View user's profile Send private message Visit poster's website
bis_senchi




Joined: 08 Jun 2004
Posts: 460
Location: Reims, France

PostPosted: Sun Dec 10, 2006 9:59 pm    Post subject: Talking about existing commands... Reply with quote

I was thinking : are there any equivalent of "find heroes" about Npcs?

When you have several copies of npcs: How do you manipulate and find its location on the map?

As always thanks for answering so quickly!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Sun Dec 10, 2006 10:43 pm    Post subject: Reply with quote

It depends on what you mean. There are the commands NPC X() and NPC Y() that take an NPC reference as an argument (thing in the parentheses) and return to you the X or Y coordinate of the NPC whose reference you sent. If you have multiple copies of a certain NPC, and you need to find say, copy 3 of NPC 12 (Bob), you could do it like this:

Code:

variable(Bob3x)
variable(Bob3y)
Bob3x:=NPC X (NPC reference(12,3))
Bob3y:=NPC Y (NPC reference(12,3))


Oh, and don't forget that copy 3 means the 4th copy of the NPC on the map (because the first copy is copy zero, I'm pretty sure).

All of this is assuming you already know which copy of NPC 12 you are trying to find. Is this what you are asking for? Note that this is quite a different thing than "find hero ()". That command is used to find the hero's slot in the party, which has nothing to do with his or her X,Y coordinates. There is no equivalent to a 'party' when you are concerned with NPCs.
_________________
My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161

This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group