Log in

View Full Version : some questions on Ancillaries/Scripts



Bardo
10-27-2006, 09:20
I have some questions on Ancillaries/Scripts. I would thank any help:

1- Does somebody know if the event "Prebattle" works?, I have not been able to use it with success. Or if there is some other event triggered BEFORE each battle.

2- Is it possible (even with scripts) to remove/destroy an ancillary in game? other than killing the owner.

3- Is it possible to kill a character in game other than "kill_character"?. I want to kill a character who has a trait or ends at a position (so I don't know his name).
I have tried workarrounds like spawn a rebel assassin (with high skills and limited movement) next to the character, but I'm searching for a more efficient solution...

4- Has anybody been able to use the console_command "event <event_type> <opt:position>" into a script?

5- I have seen the console_command "test_message" is used in EB script, but when I use it, no message is launched. I tested many different messages like civil_war, outlawed... Is it necessary to make something more so that it works?

BozosLiveHere
10-27-2006, 14:30
I can answer the first three:

1- No.

2- I don't think so.

3-Not really. Interesting idea though. Just hope your 'target' isn't to close to another friendly general and the assassin decides to kill the other one instead.

Bardo
10-27-2006, 15:05
1&2- I feared so, but everytime I research in this forum I discover that something I believe impossible can be done. So I needed confirmation. Thank you BozosLiveHere.
3- That's the point... :viking:

The_Mark
10-29-2006, 22:30
4: No. A cookie for the first one to get it working.

5: There are certain event messages that work with this command, and some messages work only for certain cultures. See descr_event_images for reference.

Bardo
10-30-2006, 10:14
and some messages work only for certain cultures
Aaaaaah, this is the reason it didn't work for me, I was trying roman messages with Greek factions. :wall:
Thank you a lot The_Mark, I'll continue trying some different messages.

Anyway, if somebody knows of a message working for all cultures, please say it here.

The_Mark
10-31-2006, 14:48
I'm not sure, but daughter_retired might be one. If you have EB scripts at your disposal, you could search there as well for test_message commands. There are few messages that are used for non-"roman" factions, they *should* work regardless of culture.