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

Calling a custom menu from a plotscript

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




Joined: 08 Aug 2003
Posts: 606

PostPosted: Fri Feb 01, 2008 7:44 am    Post subject: Calling a custom menu from a plotscript Reply with quote

Ok, I hope this question doesn't turn out to be as dumb as my last one, but I can't seem to find the documentation for this anywhere... How do you call a custom menu from a plotscript?
Back to top
View user's profile Send private message
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Fri Feb 01, 2008 8:33 am    Post subject: Reply with quote

http://hamsterrepublic.com/ohrrpgce/docs/plotdict.xml#Menu%20Functions

When you use "open menu", it returns a menu handle. I'm guessing you haven't messed with this stuff yet, so just think of a menu handle as if it's an NPC reference. It is a way to mess with the proper menu, even if there were multiple copies of the same menu laying around. Most menu commands will not accept the menu ID number.
_________________
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
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Fri Feb 01, 2008 9:13 am    Post subject: Reply with quote

Interesting. All the relevant functions are in the xml file you linked to, but none of this stuff appears on the wiki. Didn't James say at one point he has a script that automatically keeps the wiki plotscripting dictionary up to date with the xml?

Also, thanks!
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Fri Feb 01, 2008 10:04 am    Post subject: Reply with quote

Mike wrote it, and I'm not sure how it works. I tried doing the xml transformation myself just now, and I just got a bunch of error messages :(
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Fri Feb 01, 2008 5:13 pm    Post subject: Reply with quote

Don't rely on the wikised version for documentation, it hasn't been updated in over a year! The copy that comes with your release is normally the best one to use. (As the xml documents the current WIP build, not the last stabel release)
The wiki really ought to provide the link to the nightly xml, rather than claiming to be totally up to date.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
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