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 3 of 3 1 2 3
Re: sound code [Re: aslam] #75493
06/06/06 16:42
06/06/06 16:42
Joined: Aug 2002
Posts: 673
Las Cruces, NM
JimFox Offline
User
JimFox  Offline
User

Joined: Aug 2002
Posts: 673
Las Cruces, NM
Hello,
I think your problem is with my.skill1. It is initially set for 200. It runs once and is set to 0. Naturally, it will not work the second time you come near. If you want it to do this every time you come near, you have to set it to 200 again when you reach a distance greater than 200.
So put in a line that resets it to 200 when the distance between camera.x (or player.x) and my.x is >300.
I think that solves your problem with a lack of repeatability.
Regards,
Jim


Jim
Re: sound code [Re: JimFox] #75494
06/06/06 18:27
06/06/06 18:27
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
They didn't want it to repeat...

...I think?


xXxGuitar511
- Programmer
Re: sound code [Re: xXxGuitar511] #75495
06/06/06 19:55
06/06/06 19:55
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Quote:


Just want to ask you that why it is not working with A6 templates, any suggestions about it??





Yeah I have a suggestion:
the A6 templates do not use the player as pointer to the player's model.
Instead they use plBiped01_entity as pointer, so just replace "player" with "plBiped01_entity" and it should work.

Re: sound code [Re: Xarthor] #75496
06/06/06 20:42
06/06/06 20:42
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
ah ha...

Thankz Thunder for that info. I never use templates, so I had forgotten about the GUID's used in the A6 templates...

And becuase "player" is predefined by the engine, it wouldn't produce an error.


xXxGuitar511
- Programmer
Page 3 of 3 1 2 3

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