|
Post by PzK on Sept 9, 2006 13:07:47 GMT
thx, just found one of my old scenario's (Battle of Hu Lao Gate) which im gonna add a script to and release it with the matrix scenario. do you know the command to increase the unit pop max?
btw that help guide to scripting has been a real help.
Update: nvm got it from your BFME script.
|
|
|
Post by Freedom-Fighter on Sept 9, 2006 20:39:04 GMT
I'm looking forward to play your scenarios.
|
|
|
Post by PzK on Sept 11, 2006 12:35:20 GMT
FF can tell me why the delay doesnt work in this action
//////////////////////////////// //MISSION OBJECTIVE ///////////////////////////// RULE rulekillhumans ONESHOT if (true) then actionkillhumans END_RULE
ACTION actionkillhumans SCRIPT WORLD DoDelay(100);
SelectGroup("machines"); MoveSelectionToAreaWithAttack("attack", true);
END_SCRIPT END_ACTION
|
|
|
Post by Freedom-Fighter on Sept 11, 2006 21:32:02 GMT
One very simple thing you've fogotten(or don't know) is that if you want to do delay, or make orders, you need to add steps. For example, if you want something to happen before something(things like delay) add a "STEP" between. So this is what it should look like: //////////////////////////////// //MISSION OBJECTIVE ///////////////////////////// RULE rulekillhumans ONESHOT if (true) then actionkillhumans END_RULE ACTION actionkillhumans SCRIPT WORLD DoDelay(100); STEPSelectGroup("machines"); MoveSelectionToAreaWithAttack("attack", true); END_SCRIPT END_ACTION I'm becoming a scripting teacher now.
|
|
|
Post by PzK on Sept 12, 2006 15:15:51 GMT
thx FF, you scripting wizard
|
|
|
Post by Ψїş†ÆCROW100 on Sept 13, 2006 21:16:41 GMT
How do you add custom BG music to a scenario?
|
|
|
Post by PzK on Sept 14, 2006 12:37:35 GMT
type this under intialization
PlayVoiceOver("name of music file.mp3");
|
|
|
Post by Freedom-Fighter on Sept 14, 2006 17:44:49 GMT
I'm currently still looking for a way to add BINK movies into the script. There is a command in the scripting bible to do it. But it doesn't seem to work. Too bad I can't look into the scripts for the built-in campagins for examples.
|
|
|
Post by PzK on Sept 18, 2006 20:54:37 GMT
I have tried the bink movies command aswell, but it doesnt seem to work. I also cant the maxpopcap command to work.
|
|
|
Post by Freedom-Fighter on Sept 19, 2006 18:29:19 GMT
Hmm...the max pop cap one should work. Do you mean this one? For example.
SetMaxPopCapacity(1, 500);
|
|
1haz1
New Member
Posts: 5
|
Post by 1haz1 on Jul 21, 2008 2:36:52 GMT
hey can u help me wif script i put it in the boston thingy but it doesnt com up in the ies file in mission propertys can u tell me how 2 do it
|
|
|
Post by delusional on Nov 9, 2011 23:08:02 GMT
I have no folder in which to find Boston or scriptexample. And I really dont understand half of this. Is there anyway i could get some assistance?
|
|