Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,546 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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