Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: How would you go about this?... [Re: MrCode] #129600
05/16/07 04:06
05/16/07 04:06
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
hmm..try to look around your turret, maybe you laser model is created outside of camera's view

Re: How would you go about this?... [Re: Shadow969] #129601
05/17/07 01:19
05/17/07 01:19
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline OP
User
MrCode  Offline OP
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Looked everywhere, no laser shot. Also, the sound won't even play.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Re: How would you go about this?... [Re: MrCode] #129602
05/17/07 16:45
05/17/07 16:45
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
Maybe it's beacause you use on_mouse_left somewhere else
try placing shooting function into the turret cycle, like this

action shoot_with_turret
{
turret=my;
while(1)
{
if(mouse_left){ent_creator();sleep(0.5);}
ent_bonereset(my,"Turret");
bone_angle.pan= (pointer.x * -1) * 0.5;
bone_angle.tilt= (pointer.y);
bone_angle.roll= 0;
ent_bonerotate (my,"Turret",bone_angle);
wait(1);
}
}

Last edited by Shadow969; 05/17/07 16:45.
Re: How would you go about this?... [Re: Shadow969] #129603
05/17/07 23:07
05/17/07 23:07
Joined: Mar 2007
Posts: 677
0x00000USA
M
MrCode Offline OP
User
MrCode  Offline OP
User
M

Joined: Mar 2007
Posts: 677
0x00000USA
Now the error is just looping itself. Sound works, but only inbetween errors.


Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}
Page 2 of 2 1 2

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