Following Dear Esther path,,,

There are no stupid questions, just stupid answers.
5 posts Page 1 of 1
slapin
Posts: 24
Joined: Thu Aug 10, 2017 12:56 am
by slapin » Mon Aug 14, 2017 3:23 am
Hi, I want to make some points in game where something happens (like printing text, narration, door opens, etc.) how should I do these with Torque3D?
Timmy
Posts: 308
Joined: Thu Feb 05, 2015 3:20 am
by Timmy » Mon Aug 14, 2017 3:58 am
You are looking for a Trigger .
slapin
Posts: 24
Joined: Thu Aug 10, 2017 12:56 am
by slapin » Mon Aug 14, 2017 4:56 am
Thanks a lot, it works great!

Maybe you could point me in right direction - how can I print some 3D or 2D narrative text
when trigger is activated?
Timmy
Posts: 308
Joined: Thu Feb 05, 2015 3:20 am
by Timmy » Mon Aug 14, 2017 7:20 am
Apart from the old garage games documentation here , there is also the wiki too, here is the scripting section . There is no great point just giving you code to just copy and paste as you won't learn anything and will be back asking how to do the next part. Give it a go and feel free to come back and ask questions with examples of what you have already tried etc
JeffR
Steering Committee
Steering Committee
Posts: 763
Joined: Tue Feb 03, 2015 9:49 pm
 
by JeffR » Mon Aug 14, 2017 4:03 pm
I will note that the Full template's PlayGUI has some text fields on it for pop up messages for gameplay stuff. you can check those out and see how those get used to get some ideas. From there, you could just have a text field for where you'd like the messages to display, and have the trigger call a function to message to them with whatever text is assigned to that trigger.
5 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest