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

Name that hero

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Master K
Ex-Akatsuki Masked Ninja




Joined: 11 Jun 2011
Posts: 57
Location: Everywhere and Nowhere. Muahaha!

PostPosted: Sun Jun 19, 2011 8:58 am    Post subject: Name that hero Reply with quote

What I want to do, with plotscripting, is rename a hero who is not in the party or reserves, and for the renaming to stay.

I'll give you the example from my game. The hero asks someone for the name of the other protagonist. Right before the woman gives you the name, I want the Name that hero screen to pop up, and then after it the name is shown in the womans next text box, and the re-name stays that way.
Back to top
View user's profile Send private message
mswguest
Guest






PostPosted: Sun Jun 19, 2011 1:13 pm    Post subject: Reply with quote

The best way I can think of to do this would be to have a script that shows the textbox, then adds the hero to the party and at the same time gives him/her a blank walkabout picture (so he/she doesn't appear onscreen), thus allowing the game to handle renaming normally, then after the textbox is done remove the hero and restore the walkabout picture.
Back to top
Master K
Ex-Akatsuki Masked Ninja




Joined: 11 Jun 2011
Posts: 57
Location: Everywhere and Nowhere. Muahaha!

PostPosted: Sun Jun 19, 2011 2:27 pm    Post subject: Reply with quote

Ok, thats what I thought. And besides, I don't have caterpillar party on, so she won't show up.
Err! Wrong. It didn't work. The rename stuck for about one text box (The one where the remove conditional was on) and then the next one with her name went blank.
Back to top
View user's profile Send private message
mswguest
Guest






PostPosted: Sun Jun 19, 2011 2:56 pm    Post subject: Reply with quote

When you remove her, don't delete her. Just swap her out of the current party and lock her (although I don't think this should matter... how are you referring to her in your text boxes?).

You could always use a string to accomplish this as well. But I'm interested in why this is failing with our current setup.
Back to top
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Mon Jun 20, 2011 8:22 am    Post subject: Reply with quote

Yes, swapping her out of the active party and locking her is the right solution.

The codes for embedding hero names into text boxes only work if the hero is in the party.

In fact, the only way to use a hero name without adding the hero to the party is to copy it into a string using the "get hero name" command.
Back to top
View user's profile Send private message Send e-mail 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