View Full Version : question

12-11-2003, 06:45 AM
Can exteral scripts be called up with a button? Like have a button called darkside which would give direct access to the arson twins.

12-11-2003, 01:09 PM
Yes, you can add a button somewhere to call in the Twins. However, unless you're prepared to do a lot of Flash hacking, you'll probably need to find a location that easily supports new buttons. I have added buttons to the Church and the DieMart. Dan created a new location on the Map for his Casino mod, but this involves a lot of work. It would be doubleplus good for Seth to enable the Graveyard to be an empty location, just like the Church is "empty" in stock games. That makes it a lot easier for mod writers to tweak.

Now can you you call the arsen.c program from a button? I think the answer is no. If I recall correctly, you can call another .c file but I don't know what will happen after that called program is done. Events are special in that the FQ engine knows how to return to the calling script.

So, the hack the I would recomend is:

1) Pick either the Church or DieMart.
2) Add a button that says "Phone Twins" or somthing.
3) Copy the revelant bits from the arsen script to script
controlling the desired location.
4) Profit.

Seth, am I spouting pernacious lies and half truths here?