Go Back   EQEmulator Home > EQEmulator Forums > OpenZone > OpenZone:: Q&A

OpenZone:: Q&A Support forum for OpenZone help

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2005, 11:40 AM
saveus
Sarnak
 
Join Date: Mar 2005
Posts: 30
Default about script language

hi it's me and my questions again

i read the doc about script language but only have sample for make item.

it is possible with script language to make some "macro" ?
like a script who put 1000 random object tree on a zone
or another who , for each objet name like "corridor" , put an mech object torch and a light source at each "corridor"+10 loc

Last edited by saveus; 04-14-2005 at 07:47 PM..
Reply With Quote
  #2  
Old 04-14-2005, 02:24 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

I'm sorry..I dont understand your question(s).

What scripting language are you referring to and what are you trying to do?
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #3  
Old 04-14-2005, 08:39 PM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

Mhhh, we are on openzone section.
Saveus speak about object scripted language in OZ
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.

Last edited by Belfedia; 04-15-2005 at 04:53 AM..
Reply With Quote
  #4  
Old 05-06-2005, 08:36 PM
smogo
Discordant
 
Join Date: Jan 2004
Location: 47
Posts: 339
Default

hi,

iirc, OZ script language is not intended for complex scripting, and does not allow 'macros'.
You can however conditionally (if / else, while, ...) call sub-scripts. This may be a fair way for a start

i hope this helps.
__________________
EQEMu Quest Repository is down until something new :(
Reply With Quote
  #5  
Old 05-10-2005, 02:02 AM
KhaN's Avatar
KhaN
Dragon
 
Join Date: Mar 2004
Location: France, Bordeaux.
Posts: 677
Default

Cannot really help here, never used OZ scripts myself, sorry.
__________________

Reply With Quote
  #6  
Old 05-10-2005, 01:39 PM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

The scripting language is really meant for customizing how a single object appears (e.g. a staircase, torch, chair, or any single object you can think of), not for creating more than one object at a time. As such it can't place objects from the mesh library and it doesn't have a random() function. Writing a script can be really hard for beginners, but the nice thing is that you only have to do it once and then everyone can benefit.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:15 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3