Page 1 of 1

oh!oh!

PostPosted: Fri Feb 27, 2004 1:16 am
by hobgoblin
a fast one!

how do i put actions in mouse1???

like

key down-mouse1
create actor-shot

PostPosted: Fri Feb 27, 2004 1:17 pm
by makslane
I didn't understand

if i understood properly

PostPosted: Fri Feb 27, 2004 1:36 pm
by ingsan
if i understood properly :

Do u remember what i told u about the shoot :?:
Add Event KeyDown,with repeat disabled
Press "a key of ur choice"
Add Action CreateActor "Shoot"

So, here it's the same except that instead of pressing a keyboard key, u just press on the lMouse left-click :wink:

Re: if i understood properly

PostPosted: Fri Feb 27, 2004 9:18 pm
by hobgoblin
ingsan wrote:if i understood properly :

Do u remember what i told u about the shoot :?:
Add Event KeyDown,with repeat disabled
Press "a key of ur choice"
Add Action CreateActor "Shoot"

So, here it's the same except that instead of pressing a keyboard key, u just press on the lMouse left-click :wink:


but i can't put the mouse1

mouse2 makes "any key" but doesn't work anyway

Re: if i understood properly

PostPosted: Fri Feb 27, 2004 10:54 pm
by ingsan
Add Event KeyDown,with repeat disabled


:oops: Please excuse me ! i've done a big mistake :(

Instead of adding Event KeyDown, u have to :

add Event Mouse Button Down and then press Mouse Left-click !

Sorry i'm really confused :!:

Re: if i understood properly

PostPosted: Fri Feb 27, 2004 11:16 pm
by hobgoblin
ingsan wrote:
Add Event KeyDown,with repeat disabled


:oops: Please excuse me ! i've done a big mistake :(

Instead of adding Event KeyDown, u have to :

add Event Mouse Button Down and then press Mouse Left-click !

Sorry i'm really confused :!:


now it works like this, but not very well... :(

Re: if i understood properly

PostPosted: Mon Mar 01, 2004 11:22 pm
by hobgoblin
ingsan wrote:
Add Event KeyDown,with repeat disabled


:oops: Please excuse me ! i've done a big mistake :(

Instead of adding Event KeyDown, u have to :

add Event Mouse Button Down and then press Mouse Left-click !

Sorry i'm really confused :!:


look...
i'm making a first person game
so i got 3 actors the AIM , the GUN and the SHOT

the gun should shoot in the aim direction with mouse1
but it shoot only if i click with mouse1 in the gun
but i need to click in the enemys

is possible use mouse1 to shoot anywere? (not only if i click in the gun)

PostPosted: Tue Mar 02, 2004 1:33 am
by makslane
Catch the Mouse Button down event in your enemies actors

PostPosted: Tue Mar 02, 2004 2:03 am
by hobgoblin
makslane wrote:Catch the Mouse Button down event in your enemies actors


i did that, but the GE stop working :shock:

PostPosted: Tue Mar 02, 2004 12:03 pm
by makslane
crash?

PostPosted: Tue Mar 02, 2004 10:39 pm
by hobgoblin
makslane wrote:crash?


yep

PostPosted: Tue Mar 02, 2004 11:09 pm
by makslane
Can you send to me your project?

PostPosted: Wed Mar 03, 2004 1:17 am
by hobgoblin
makslane wrote:Can you send to me your project?


well...not really, becouse i the site that i make uploads i can do only 900kb
:oops:
and my game is 1.2mb

but forget it...i'll try to do like the shark game...