|
radboi22 Novice
Joined: 19 Jan 2008 Posts: 30
|
Posted: Sat Jan 19, 2008 4:17 am
Need Help running Two Characters |
Hi, I have two characters, I need one of the characters to send information to the other character without sending lines to it's screen, is there a way to send it to a seperate parse window, and have the character recieve the information off that? Thanks for your help =D
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Jan 19, 2008 4:18 am |
What kind of information? If you want to set variables, just use :windowname:#var whatever whatever. If you want to fire triggers, use :windowname:#fire whatever.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Jan 19, 2008 4:44 am |
With variables, you really don't need to send anything unless you're trying to trigger off it. Using the @window.varname syntax, you can access it directly from any character.
Also, Fang got lost again. Though his :windowname: advice is still valid for other reasons, #FIRE = new CMud command to force triggers to execute despite not matching a particular line of text. In ZMud, to make a trigger fire you will need to send a line of text to the window. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Jan 19, 2008 5:11 am |
Bah. I'm constantly doing that these days :(
I would assume, however, that :windowname:#say whatever;#gag will have the same effect as #fire - the text will show, fire triggers, and then immediately be removed. |
|
|
|
radboi22 Novice
Joined: 19 Jan 2008 Posts: 30
|
Posted: Sat Jan 19, 2008 5:24 am |
So you can Access Another windows Variables.. That's wonderfull, ty
|
|
|
|
|
|