MysticalMist
Well-known member
I feel like I'm overlooking something very basic. But I'm currently relying on the @cmd projectile function so far.
Say I'm using this command:
but in the next frame, I want to use this command again to make the bullet aim and go towards the opposite direction.
What would be the easiest way to pull this off? Would I have to use the shooter function instead? I haven't coded in OpenBOR in a while, so I'll admit I've been very rusty.
UPDATE: I tried to use the shooter functions, however they don't really add to the player's score or show the enemy's health when it hits, and the speed is inconsistent.
Here is the header of the bullet the player is using:
Say I'm using this command:
Code:
@cmd projectile 1 "StrikerBullet" 62 0 63 1 0 0
What would be the easiest way to pull this off? Would I have to use the shooter function instead? I haven't coded in OpenBOR in a while, so I'll admit I've been very rusty.
UPDATE: I tried to use the shooter functions, however they don't really add to the player's score or show the enemy's health when it hits, and the speed is inconsistent.
Here is the header of the bullet the player is using:
Code:
name StrikerBullet
health 1
nolife 1
type none
subtype flydie
speed 35
shadow 0
subject_to_gravity 0
nolife 1
noquake 1 1
falldie 1 1
remove 1
subject_to_wall 1
offscreenkill 500
animationscript data/scripts/escript.c
Last edited: