Will someone be making a small tutorial on how this is done. ie. which files to put the script into. Kinda new to this. Thnx
Printable View
Will someone be making a small tutorial on how this is done. ie. which files to put the script into. Kinda new to this. Thnx
This seems to work with "named character" too.
JEROME YOU ARE THE MAN!
/me throws away months of trial and error
BTW, I have used call_object_shortcut before and it works fine
I've incorporated it into my Beginner guide to scripting:Quote:
Originally Posted by Vegas_Bear
https://forums.totalwar.org/vb/showthread.php?t=46738
Read the first post through fully, that'll tell you how to set up a script, then you can read the specific entry for spawn_army at the top of the second page.
(And if someone with a working copy of RTW wouldn't mind checking my syntax is correct before I look stupid I'd appreciate it :beam: )
A suitor scorned becomes a rebel... sounds about right to me. I tend to get fighting mad when I can't get the lady I'm after, too... LOL
If anyone gets any CTDs with this and can't figure why, this might be an explanation:
The name of the character must be included in descr_names.txt for the specified faction.
Has anyone gotten this to work?Quote:
Originally Posted by JeromeGrasdyke
I' m sure someone got this to work in RTW awhile ago on the twcenter site.
Hi rorarii,
Do you mean this?
From here http://www.twcenter.net/forums/showt...voke_rebellionCode:script
declare_counter loop
set_counter loop 0
monitor_event FactionTurnStart empire_east
and I_TurnNumber = 1
if I_SettlementOwner Alexandria = empire_east
provoke_rebellion Alexandria
end_if
terminate_monitor
end_monitor
while I_CompareCounter loop = 0
end_while
end_script
I'm going this now....
Cheers
Hmm, that code doesn't seem to work or variations of it, at least not in B.I :wall:
Anyone had success with provoke_rebellion in B.I ? - Personally i don't think it works...:furious3:
any way of applying a date onto the end of spawn_army maybe making for example:
spawn_army summer_184BC
etc...
This would be way better than clicking to activate a new script every time.
No.
But you can do what you want by running a background script which executes a spawn on the desired turn.
has anyone been able to spawn an actual family member who gets a place on the family tree? so far, all i've been able to spawn are generals.