Author Topic: Sending message from players callsign  (Read 4714 times)

0 Members and 1 Guest are viewing this topic.

Sending message from players callsign
Possible? How? :confused:
May the Force be with you

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Sending message from players callsign
Put a # before the message sender in the SEXP.

e: # not $ you ****ing idiot battuta
« Last Edit: May 18, 2012, 01:35:00 pm by General Battuta »

 
Re: Sending message from players callsign
Put a # in front of the sender's name, for example #Alpha 1.

 
Re: Sending message from players callsign
nither of those work, what I'm trying to do is send the message form the players pilot, so if the players pilot was called vampire it would read as coming from vampire.
May the Force be with you

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Sending message from players callsign
Yes, you need to set the message sender as #Vampire, it will work.

Remember that you do this in the SEXP, not in the ship editor callsign field. You need to right click on the argument in send-message and manually edit it with 'edit data'.

 
Re: Sending message from players callsign
Yes but if the player sets his name as someting else then they won't match, I'm looking for something like $callsign.
May the Force be with you

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Sending message from players callsign
Wait, you mean the player's profile name?

 
Re: Sending message from players callsign
Yes, sorry about being unclear.
May the Force be with you

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Sending message from players callsign
Hmmmmmmm. Have you tried setting the value of a string variable to $callsign? Does that work?


 
Re: Sending message from players callsign
No it just sends the message from command.
May the Force be with you

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Sending message from players callsign
Hmm, this is an interesting puzzle.. I must try some things...
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Legate Damar

  • Keeping up with the Cardassians
  • 29
  • Hail Cardassia!
Re: Sending message from players callsign
I'm pretty sure I saw this in one campaign I played... I just forget which one

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Sending message from players callsign
I wonder if #$callsign would work.  My hunch is no.

Assigning $callsign to a string variable and then using when-argument should do the trick though.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Sending message from players callsign
I wonder if #$callsign would work.  My hunch is no.

Assigning $callsign to a string variable and then using when-argument should do the trick though.

Question is, how do you assign $callsign to a string variable? I just tried entering it directly as the value and it doesn't work.

e: haha, if you do '#$' you get some other currency marker, idk what
« Last Edit: May 18, 2012, 02:49:37 pm by General Battuta »

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Sending message from players callsign
lol, it looks like the galactic credit symbol from star wars

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Sending message from players callsign
lol, it looks like the galactic credit symbol from star wars
Oh what really? That's awesome. Pics? :P
(´・ω・`)
=============================================================

 

Offline Shivan Hunter

  • 210
  • FRED needs lambdas!
Re: Sending message from players callsign
So I played around with this a bit. So it looks like the "$Callsign" is NEVER parsed/replaced in string literals or variables, making it impossible to set ships' callsigns or names to the player's callsign. It's only parsed in text in messages, which does not include that ship's name. Including $callsign in the field for sending messages (like "#($callsign)" or "# $callsign") simply displays the "$callsign" text.

A script might be able to get the value into a variable, or possibly FSO could parse the $callsign string in events- I doubt that would break anything, so maybe the SCP would take a look at it.

 
Re: Sending message from players callsign
Well code change is no good due to the mission being for saga  :mad: :banghead: Looks like I'm stuck.
May the Force be with you

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Sending message from players callsign
You could ask the saga devs for help....
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline swashmebuckle

  • 210
  • Das Lied von der Turd
    • The Perfect Band
Re: Sending message from players callsign
lol, it looks like the galactic credit symbol from star wars
That probably comes from your guys' using my FotG font in BP--it would just display a $ in a normal font.