Search the web
Sign In
New User? Sign Up
dg_scripts · DG scripts
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Loading a mob in another room   Message List  
Reply | Forward Message #763 of 791 |
RE: [DG_SCRIPTS] Loading a mob in another room

If you are running the latest version of DG_SCRIPTS from Welcor, I
believe that you can do it like this.



%load% mob <mob vnum> <room vnum>

Which for you would be:

%load% mob 12549 12652



The other way to do this would be to teleport the mob after it has
loaded, if you have a reasonably recent version of dg_scripts.



%load% mob 12549

%teleport% %loaded% 12652



If you have an older version of dg scripts:



%load% mob 12549

set loaded %self.people%

if %loaded.vnum% == 12549

%teleport% %loaded% 12652

end



Give each of those a go!

-Jamie Nelson / Mordecai

http://4dimensions.org









From: dg_scripts@yahoogroups.com [mailto:dg_scripts@yahoogroups.com] On
Behalf Of cronax_me
Sent: Tuesday, 13 February 2007 12:35 p.m.
To: dg_scripts@yahoogroups.com
Subject: [DG_SCRIPTS] Loading a mob in another room



I have a simple question. I was trying to get a script to load a mob
in a differnt room.

First i tried %load% mob %room.vnum(12652)%
That didnt seem to work

Second i tried doing
eval rm %room.vnum(12652)%
set m %rm.people%
if %m%
halt
else
load mob 12549
endif

lastly
eval rm %people.12652)
if %m%
halt
else
load mob 1 %room.vnum(12652)%

any suggestions?





[Non-text portions of this message have been removed]




Mon Feb 12, 2007 11:41 pm

mordecai4d
Offline Offline
Send Email Send Email

Forward
Message #763 of 791 |
Expand Messages Author Sort by Date

I have a simple question. I was trying to get a script to load a mob in a differnt room. First i tried %load% mob %room.vnum(12652)% That didnt seem to work ...
cronax_me
Online Now Send Email
Feb 12, 2007
11:34 pm

If you are running the latest version of DG_SCRIPTS from Welcor, I believe that you can do it like this. %load% mob <mob vnum> <room vnum> Which for you would...
Jamie Nelson
mordecai4d
Offline Send Email
Feb 12, 2007
11:42 pm

Guess maybe i need to bug the admin to update the dg to most recient version. Last option was the way i needed to go. Thanks again :) ... ...
cronax_me
Online Now Send Email
Feb 13, 2007
12:11 am

J There are some fantastic updates in the new version. Including missing bracket checking. Better script formatting. New commands and features, and several bug...
Jamie Nelson
mordecai4d
Offline Send Email
Feb 13, 2007
1:48 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help