tool box

Talk about making games.

tool box

Postby raminjoon » Wed Aug 03, 2011 4:38 am

can you plz help me with this and also this window is going to be my tool box meaning it will have selective items on it how can I do that? I mean when this box pops up people select their weapons or items from it to use in the game. can you plz help me with this thanks bud.
Attachments
window.png
raminjoon
 
Posts: 40
Joined: Tue Jul 05, 2011 5:34 am
Location: Denver, Co.
Score: 3 Give a positive score

Re: tool box

Postby Nykos » Wed Aug 03, 2011 6:37 am

Hi, for this I think I can help... :D
on the toolbox actor, if you want it to be invisible from the start, you have to do this:
Create actor / Visibility State / disable.

Then on the button actor:
Mousebuttondown / script editor:
click on variables/fonctions and choose Visibility state: select the tool box actor and "enable"
then click Add and immediate action.
this should do the pop up thing.

finaly to make the toolbox invisible again:
on the toolbox, Mousebuttondown / Visibilitystate / event actor / disable.

Et voila, it's as simple as that :D

I hope this helps you
Nykos
 
Posts: 110
Joined: Sun Dec 19, 2010 11:11 pm
Score: 6 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest