Game Development Community

Setting a message in trigger

by CIMO · in General Discussion · 05/22/2006 (2:22 am) · 3 replies

Hi...I would setting a message in a trigger...
I use this:
message = "Hello world"
But i would write a long message and stay on 5 line...and i use this:
message = "Hello world" @ "second line" @ "etc etc"
lines = 5;
I have 2 trigger with see a messege with a centerPrint one with 1 line and this with 5 line..
But i enter in one trigger ignore the line and stay = for 2 trigger!!?!?!?! WHY?
Help thanks

#1
05/22/2006 (10:05 am)
First off, what are you talking about? You're in the wrong forum if this is Torque related.
I can't make out what you're trying to say in your post, but good luck.
#2
05/22/2006 (11:45 am)
LOL!

cimo from what i gathered from your post, it sounds like the problem may be because youre using two triggers for the same area. why? im not sure if that would work but you should be able to handle everything with just one trigger area.
#3
05/22/2006 (1:54 pm)
Ok sorry....
i would resize a centerPrint message...
i use a trigger for visuaizing a message...
This is a code:
function TastiJeepTrigger::onEnterTrigger(%this,%trigger,%obj)
{   
   Parent::onEnterTrigger(%this,%trigger,%obj);
   %message = "PER GUIDARE IL VEICOLO USA I TASTI:"@
   "W = AVANTI"@
   "S = INDIETRO"@
   "A = SINISTRA"@
   "D = DESTRA"@
   "INVIO = CAMBIA LA POSIZIONE DEL PERSONAGGIO";
   %time = 8;
   %lines = 5;
   centerPrint( %obj.client, %message, %time, %lines );
}
But my centerPrint stay always in small size and not in MY SIZE...!!?!?!?
Help please....