Author Topic: Another "How To" Question  (Read 1475 times)

0 Members and 1 Guest are viewing this topic.

Offline NGTM-1R

  • I reject your reality and substitute my own
  • 213
  • Syndral Active. 0410.
Another "How To" Question
I'm attempting to trigger a message based on two conditions in a nebular mission. First, I want it to trigger if a friendly ship approaches within a set range of a certain enemy ship; that's simple enough to do. I've already set that up once. But I also want the message to come from the ship that sets off the trigger.

Is that possible, and if so, how?
"Load sabot. Target Zaku, direct front!"

A Feddie Story

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Another "How To" Question
Easy. Use when-argument like this

when-argument
-any-of
--Beta 1
--Beta 2
--Beta 3
-<
--distance
---< argument >
---NameOfHostileShip
-send-message
--< argument >
--normal
--NameOfMessage
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]