Home   Help Search Login Register  

Author Topic: Trigger problems and me  (Read 656 times)

0 Members and 1 Guest are viewing this topic.

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Trigger problems and me
« on: 17 Feb 2004, 22:55:57 »
I have frequent problems with triggers and today i bring one to you  ;D

I have a race map i am making, and i want it so that when someone reaches the end of the race they activate a trigger that says:

"(players name) wins!!"

I know how to make it say text, but i dont know how to make it say the person who activated the trigger's name.
Hey kid, wanna see a dead body!?

Loup-Garou

  • Guest
Re:Trigger problems and me
« Reply #1 on: 17 Feb 2004, 23:12:00 »
"say"... you mean with sound  ??? Be more precise, please.  ;D

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger problems and me
« Reply #2 on: 18 Feb 2004, 01:01:02 »
Nah, he means more summit like:

hint format ["player: %1 wins",name (thislist select 0)]

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Trigger problems and me
« Reply #3 on: 18 Feb 2004, 01:05:41 »
If you use several laps, ya could use one trigger per lap - each setting a condition to TRUE
and then the final-lap-trigger could use those conditions...

GAH! Im in a bad condition these days... :P ::) ;D



Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Re:Trigger problems and me
« Reply #4 on: 18 Feb 2004, 02:41:28 »
Alright that works well, but I want it in the text that shows up in the middle of the screen, not in hint format :)
Ps, there isnt laps its more of a drag race type thing
Hey kid, wanna see a dead body!?

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger problems and me
« Reply #5 on: 18 Feb 2004, 04:05:02 »
titletext [format["player: %1 wins",name (thislist select 0)],"BOTTOM"]

or instead of BOTTOM you could also say:  PLAIN

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

PsyWarrior

  • Guest
Re:Trigger problems and me
« Reply #6 on: 18 Feb 2004, 12:18:50 »
Greetings,

Sorry to split hairs, but isn't it "PLAIN DOWN" in code and "BOTTOM" only in the trigger effects window? Or can you use "BOTTOM" in code as well? Or am I barking up the wrong tree again?  ::)

-Supreme Commander PsyWarrior
-Psychic Productions Studios

P.S. as in titleText ["Here is some text", "Plain Down"]
« Last Edit: 18 Feb 2004, 12:19:52 by PsyWarrior »

Loup-Garou

  • Guest
Re:Trigger problems and me
« Reply #7 on: 18 Feb 2004, 12:58:11 »
There's a easier way to do that !  :D

Create a trigger (F3). In the "effects" option (double left-click to edit the triggrer), choose : "text" and type your message.
Then link this trigger with the player (press F2 and draw a blue line). When the player will come in the trigger's area the text will appear !  ;)

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger problems and me
« Reply #8 on: 18 Feb 2004, 20:59:06 »
Quote
Sorry to split hairs, but isn't it "PLAIN DOWN" in code and "BOTTOM" only in the trigger effects window? Or can you use "BOTTOM" in code as well? Or am I barking up the wrong tree again?

Could be Psy Warrior, been writing that from my work, and
also i ain't doin OFP editing every day anymore   :'(

Might cost only a simple try to discover that  ;)


Loup_Garou:

Have you ever tried grouping a trigger to more than one unit?

Read the whole thread again, try out what you suggested, and
then come back and tell me it worked  ;)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted