Page 1 of 1

Map with script?

Posted: 11 Feb 2010, 16:44
by dmkp
What tells which map to use which script?

Re: Map with script?

Posted: 11 Feb 2010, 18:31
by Per
.wrf files.

If you want a more detailed answer, I suggest a more detailed question.

Re: Map with script?

Posted: 11 Feb 2010, 23:06
by dmkp
Well let's say I wanted to make a script to activate technology for a specific team. But I wanted it separate from the main script for that level.

I'd need to know how to link that map with that script.

Re: Map with script?

Posted: 11 Feb 2010, 23:48
by Per
You mean for skirmish games? Never tried that, but I suppose you would add a custom wrf file referenced from the addon.lev, that loads the VLO and SLO files that contain the scripts.

Re: Map with script?

Posted: 12 Feb 2010, 00:30
by dmkp
No, for campaign maps :)

Re: Map with script?

Posted: 12 Feb 2010, 07:02
by Buginator
Everything is controlled with the .wrf files. Look at how cam 1 starts...

Re: Map with script?

Posted: 12 Feb 2010, 18:28
by dmkp
Ah yes :)

Thank you :D




Are there any scripting tutorials out there?