Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: Cobra on August 07, 2008, 04:18:22 pm

Title: Selecting certain messages at random for one event?
Post by: Cobra on August 07, 2008, 04:18:22 pm
I'm basically trying to do something similar to Karajorma's banter system. Say a hostile wing jumps in. Similar to how Freespace handles hostiles warping in, I want the mission to randomly select an "incoming" message and loop. I asked Karajorma about this and apparently his method is overkill, and I have no clue how to do this.
Title: Re: Selecting certain messages at random for one event?
Post by: FUBAR-BDHR on August 07, 2008, 05:53:38 pm
Well I've never tried it but I assume it would be similar to my random wing arrival order stuff.  Check out FUBAR_MT04.fs2 (http://fubar4.fubar.org/fubar/fs2/missions/fubar_mt04.fs2)

Basically you would want to modify that so when a certain number pops up a message is displayed instead of a wing arriving. 
Title: Re: Selecting certain messages at random for one event?
Post by: FreeSpaceFreak on August 08, 2008, 05:17:41 am
Something like that is in Mystery Of The Trinity (I think it's called select-random-message or so). Look at the event that says you have to form up on Zeta.
Title: Re: Selecting certain messages at random for one event?
Post by: Snail on August 08, 2008, 09:33:54 am
send-random-message?
Title: Re: Selecting certain messages at random for one event?
Post by: FreeSpaceFreak on August 09, 2008, 01:27:07 am
Yes, that one.