Help - Search - Members - Calendar
Full Version: trigger with text effect
Armed Assault Info Forums > English > Free spins in web3 NFT roulette! [https://stepn.cc/] > Mission Editing & Scripting
Metabolic
mpmission, i have two players - q1 and q2.
there is one trigger that can only be activated if player q2 walks across it then a text effect and a hint text comes up...
but, i only want q2 to see the text effect and the hint text NOT q1 and q2 - ONLY q2
is that possible?
Linker Split
I'm not a MP-pro, but I think it's not possible, or better, unless you don't use a radio message, but a hint is global I think
Rellikki
If the text effects are made in the trigger itself under the Effects options of the trigger, scratch them. Instead use this script... Write on the trigger's activation field:

CODE
q2 exec "text.sqs"


Below is the text.sqs script. Save it into your mission folder.

CODE
?(!local q2): exit

hint "your hint goes here"
titleText ["your text goes here","PLAIN"]


That should make the text get displayed only for the q2 character.
See the Bohemia Wiki page about the titleText command for full list of the different text effects.
Metabolic
ok, its working now. thanx for your help!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.