Ok Im Building a World War II Game In The BGE, It’s Called “Winter War” And Based Off The Finnish And Russian War.
I Have A Map Thats Used For Reference And I Have It To Where You Click On “Sweden” Or “Russia”, On The Map. It Adds A Object (Red) And Appears Over The Title (“Sweden”, “Russia”) But I Don’t Know How To Keep It From Showing Up More Than Once, Since The Object That Goes Over The Title Is Red And Is A Little Transparent, Once You Click More Than Once It Fills In And Becomes A Solid Color, So How Can You Make It To Where It Stops From Adding More Than One Object Using The Add Object Actuator?
I click and adds it in the same spot if my mouse is over it, but i only want it to appear once, so when i move my mouse over the invisble plane i click then appears in the same spot a translucent red plane (highlighting for the map) but if i keep clicking over the plane it ads and makes the spot solid
Add a boolean property called “Added” or whatever you want. Set the click event to only occur if “Added” is false. Then on the click event add the object and set the “Added” property to true.
EDIT: P.S. Please don’t make duplicate threads. I think it would be wise to wait for an answer, or bump your original topic, rather than make a new one.
[QUOTE=SolarLune;2410473]redbaron5’s suggestion is pretty simple - here it is in blend file format.
[ATTACH]242807[/ATTACH]
EDIT: P.S. Please don’t make duplicate threads. I think it would be wise to wait for an answer, or bump your original topic, rather than make a new one.[/QUOTE
Thanks! So much! I know I can’t really wait I’m really tired and I’m Trying to learn python too. So I’m really stressed,
thanks for answering me!!