Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
0 registered members (), 1,012 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Event_Click Modelbox using? #218322
07/27/08 23:22
07/27/08 23:22
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
I created a charakter choose script. Th only thing i now need is to have a little box around my npcs to select them.

With event_click it select only if your mouse pointer is on the model! means on the visible mesh. I want to selesct it even between the space of the legs or a little bit upper the head and so on.

Anyone an idea?

greetz smile

Re: Event_Click Modelbox using? [Re: Rasch] #218327
07/28/08 00:07
07/28/08 00:07
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
create a rect-model and move it so, the character model is inside it..
Than you ask for mouse click on that rect..


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Event_Click Modelbox using? [Re: Espér] #218339
07/28/08 06:50
07/28/08 06:50
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
I´ve never heard before that word. What is RECT-Model? ANd how do i create it.

I´m scripting in C-Script not lite-c if thats important for your answer!

greetz smile

Re: Event_Click Modelbox using? [Re: Rasch] #218363
07/28/08 09:09
07/28/08 09:09
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Rectangle model, a block stretched to the length. Create one in MED...


Click and join the 3dgs irc community!
Room: #3dgs
Re: Event_Click Modelbox using? [Re: Joozey] #218370
07/28/08 09:41
07/28/08 09:41
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
Alright thanks i will give it a try. I´ve got to set the position on my model, and make the rect-model invisible, right?

I set the ambient of my model to +20 if its selected. how do i manage that when i select the rect model without giving my "real" model a pointer?

greetz smile

Re: Event_Click Modelbox using? [Re: Rasch] #218442
07/28/08 17:09
07/28/08 17:09
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
In A6 I had the problem that when making the box invisible, I couldn't click it either. No idea if it is fixed in A7, but if you can't click, set the alpha at 1 instead of 0 and you can click smile.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Event_Click Modelbox using? [Re: Joozey] #218450
07/28/08 18:07
07/28/08 18:07
Joined: Jun 2008
Posts: 428
Rasch Offline OP
Senior Member
Rasch  Offline OP
Senior Member

Joined: Jun 2008
Posts: 428
AH very good. That´s something i stucked in my production ^^

Thank you Joozey!


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1