G'day Folks,
I haven't seen any iteration/looping structures (for-next, do-while, repeat-until, goto etc.) and I just wanted to confirm that they don't exist outside the main engine.
Verification -- no iteration structure
Débuté par
sillyrobot
, nov. 26 2009 10:59
#1
Posté 26 novembre 2009 - 10:59
#2
Posté 26 novembre 2009 - 11:31
nvm
Modifié par Talian Kross, 26 novembre 2009 - 11:31 .
#3
Posté 26 novembre 2009 - 11:59
something like this?
for(i=0;i<10;i++)
{
// do something
}
or are you refering to global none lokal script stuff?
for(i=0;i<10;i++)
{
// do something
}
or are you refering to global none lokal script stuff?
#4
Posté 26 novembre 2009 - 12:07
for(i=0;i
{
// do something
}
this or
while ( condition )
{
// do something
}
Do for-next's exist? That would be great news
Modifié par sillyrobot, 26 novembre 2009 - 12:08 .
#5
Posté 26 novembre 2009 - 01:26
the scripting language is c-based, not VB. Expect for loops definitely exist and while loops might.
#6
Posté 26 novembre 2009 - 09:44
or
do
{
// stuff
} while(condition);
Modifié par Sunjammer, 26 novembre 2009 - 09:46 .
#7
Posté 26 novembre 2009 - 10:47
It was my mistake. My last modding environment was TES Oblivion and no iteration was supported for performance reasons.
I looked for and didn't find any examples or mention on the wiki regarding control structures other than branches (eg. if, switch).
It'll be much easier environment to work in with teh capability to loop.
I looked for and didn't find any examples or mention on the wiki regarding control structures other than branches (eg. if, switch).
It'll be much easier environment to work in with teh capability to loop.
#8
Posté 27 novembre 2009 - 02:55
You can indeed loop in Dragon Age.
#9
Posté 27 novembre 2009 - 08:33
I haven't documented the keyword yet. Soon





Retour en haut






