image become different image upon triggering

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

image become different image upon triggering

Post by HDL_CinC_Dragon »

Ok so i have TextureA and TriggerA and I want TextureA to become TextureB when TriggerA is triggered. Then i want it to switch back to TextureA after like... 3 seconds. can someone please tell me how to do this?

Image
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Easiest way is to make 2 script_objects... hide one show the other.. when trigger do it the other way around :)
Image
User avatar
MPowell1944
Moderator
Posts: 287
Joined: Thu Jan 09, 2003 7:06 am
Location: Woodstock, GA
Contact:

Post by MPowell1944 »

Exactly what JV says. Hide one, then when 1st is triggered, show the 2nd one and hide the 1st one. Then have a 3 sec wait, and simply hide the 2nd again and show the 1st.

If you want the script, let us know.
User avatar
HDL_CinC_Dragon
Brigadier General
Posts: 574
Joined: Mon Dec 22, 2003 8:32 pm

Post by HDL_CinC_Dragon »

haha good idea, very simple. I shoulda thought of that! thnx guys!
Image
Post Reply