Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / cheacking for an object in an area

Author
Message
Blazer
23
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: United States
Posted: 26th Oct 2003 01:57
i put a bx in front of my guy and used codes like
if object positon...>than object position ... then ...
and that woked pretty well, theres a box in front of my guy that cheacks for enemys and if they are in it and he swings his sowrd, it hits them. heres my problem:

my guy can do horizontle slashes as well as vertical but scine the area is constantly rotating the vertcle slashe area changes, is there away for the vertical slash area to stay the same the whole time?

As I walk through the vally of the shadow of death, I will fear no evil.
- Psalms 23:4
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 26th Oct 2003 01:27
Can't you just save the location in a vector at the point in time you decide to slash?

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
Blazer
23
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: United States
Posted: 26th Oct 2003 05:56
whats a vector?

As I walk through the vally of the shadow of death, I will fear no evil.
- Psalms 23:4

Login to post a reply

Server time is: 2026-07-26 15:31:16
Your offset time is: 2026-07-26 15:31:16