 |
 |
GoldenEye 007 Nintendo 64 Community, GoldenEye X, Nintendo 64 Games Discussion GoldenEye Cheats, GoldenEye X Codes, Tips, Help, Nintendo 64 Gaming Community
|
 |
 |
 |
 |
|
 |
 |
 |
 |
 |
pavarini 00 Agent

Joined: 07 May 2015 Posts: 479
 |
Posted: Tue Sep 12, 2017 5:49 am Post subject: Testing distance for vehicles |
 |
|
Hi
Is there a way to test distance for vehicles and player? Using the usual 04XX commands for guards crashes so I am wondering if there is another way I can do this.
Thanks. |
|
|
|
|
|
 |
 |
 |
 |
 |
SubDrag Administrator

Joined: 16 Aug 2006 Posts: 6171
 |
Posted: Tue Sep 12, 2017 8:19 am Post subject: |
 |
|
Vehicles and planes don't seem to support a lot of actions, like cycle counters. What you do is use a 10xx block and bitflags that the vehicles and cars check. If your car doesn't move detect distance to preset. |
|
|
|
|
|
 |
 |
 |
 |
 |
pavarini 00 Agent

Joined: 07 May 2015 Posts: 479
 |
Posted: Tue Sep 12, 2017 6:15 pm Post subject: |
 |
|
Quote: | What you do is use a 10xx block and bitflags that the vehicles and cars check. |
I'm confused about this. The vehicle is moving and I need to test if the player is within 50 units of it.
Edit: Figured it out, I use rooms and compare to a table of player positions. It's works good enough for the map. |
|
|
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
 |