 |
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Tue Aug 25, 2009 11:27 pm
having trouble getting use to CMUD |
ok so i am playing 4 chars at once. and i have 4 windows and each window has its own classes. currently i am repeating my pathing commands in each window. is there a way to have the windows inherit somehow?
|
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Aug 26, 2009 4:16 am |
You can use the #ALL to send the command(s) to all windows.
|
|
_________________ Asati di tempari! |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Aug 26, 2009 4:03 pm |
You need to create a Shared Module that contains all of the commands/scripts/etc that you want to share between your windows. Go into the settings editor and use the New/Package to create a shared package. Move the scripts you want to share to this package. Then make sure this new package is enabled for each of your four character windows.
|
|
|
|
 |
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Wed Aug 26, 2009 7:45 pm thanks zugg |
Thanks zugg
|
|
|
|
 |
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Wed Aug 26, 2009 8:22 pm saving variables to new package |
can i save the variables to the new packaga?
|
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Aug 26, 2009 9:19 pm |
Yes you can.
You can access them explicitly using the following format:
| Code: |
//ModuleName/ClassName/VariableName=2
#SHOW @//ModuleName/ClassName/VariableName
|
If you don't use the fully qualified name CMUD can still find them, but it will use scoping rules to do so. |
|
_________________ Asati di tempari! |
|
|
 |
|
|
|