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 |
I'm sorry..I dont understand your question(s).
What scripting language are you referring to and what are you trying to do? |
Mhhh, we are on openzone section.
Saveus speak about object scripted language in OZ :) |
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. |
Cannot really help here, never used OZ scripts myself, sorry.
|
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.
|
All times are GMT -4. The time now is 11:36 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.