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
0 registered members (), 18,561 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 1 of 2 1 2
please help me with my bow/arrow enemi #248738
01/28/09 20:48
01/28/09 20:48
Joined: Jul 2008
Posts: 191
M
MDMDFSS Offline OP
Member
MDMDFSS  Offline OP
Member
M

Joined: Jul 2008
Posts: 191
I`m making a enemy that attack all with a arrow wirh the entitytype:

(my.entity_type = type_combatant_friendly;)

but I thest don`t make it!

please help. crazy

I have A7 pro

Re: please help me with my bow/arrow enemi [Re: MDMDFSS] #248935
01/30/09 07:23
01/30/09 07:23
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
What's your A7 version?

Re: please help me with my bow/arrow enemi [Re: Cowabanga] #248997
01/30/09 19:40
01/30/09 19:40
Joined: Jul 2008
Posts: 191
M
MDMDFSS Offline OP
Member
MDMDFSS  Offline OP
Member
M

Joined: Jul 2008
Posts: 191
A7 pro

Re: please help me with my bow/arrow enemi [Re: MDMDFSS] #249822
02/04/09 14:05
02/04/09 14:05
Joined: Jul 2008
Posts: 191
M
MDMDFSS Offline OP
Member
MDMDFSS  Offline OP
Member
M

Joined: Jul 2008
Posts: 191
hallo??

Re: please help me with my bow/arrow enemi [Re: MDMDFSS] #249824
02/04/09 14:11
02/04/09 14:11
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
I said what's you version! Not your edition!

Re: please help me with my bow/arrow enemi [Re: Cowabanga] #249858
02/04/09 17:25
02/04/09 17:25
Joined: Jul 2008
Posts: 191
M
MDMDFSS Offline OP
Member
MDMDFSS  Offline OP
Member
M

Joined: Jul 2008
Posts: 191
oh sorry

It`s Gamestudio 7.07 PRO

Re: please help me with my bow/arrow enemi [Re: MDMDFSS] #249886
02/04/09 18:47
02/04/09 18:47
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
It's the warez version.

Re: please help me with my bow/arrow enemi [Re: Cowabanga] #250044
02/05/09 17:50
02/05/09 17:50
Joined: Jul 2008
Posts: 191
M
MDMDFSS Offline OP
Member
MDMDFSS  Offline OP
Member
M

Joined: Jul 2008
Posts: 191
But can you help me please???

Re: please help me with my bow/arrow enemi [Re: MDMDFSS] #250046
02/05/09 17:59
02/05/09 17:59
Joined: Jul 2008
Posts: 191
M
MDMDFSS Offline OP
Member
MDMDFSS  Offline OP
Member
M

Joined: Jul 2008
Posts: 191
(sorry for my english)

here is my problem part of my script:


action bow_enemy
{
my.enable_impact = on;
my.event = enemy_damage;


problem1 while (vec_dist(my.x, ? .x) > (300 + random(100))) problem1


{
enemy_speed.x = 10 * time;
enemy_speed.y = 0;
enemy_speed.z = 0;


problem2 vec_set (temp.x, ? .x); problem2


vec_sub (temp.x, my.x);
vec_to_angle (my.pan, temp);

move_mode = ignore_you + ignore_passents;
ent_move (enemy_speed, nullvector);
ent_cycle ("walk", my.skill10); // play walk frames animation
my.skill10 += 10 * time;
if (my.skill10 > 100) {my.skill10 = 0;} // loop animation
my.tilt = 0;
wait (1);
}
ent_cycle("attack", 100);
waitt (2);

{


problem3 vec_set (temp.x, ? .x); problem3


vec_sub (temp.x, my.skill12);
vec_to_angle (my.pan, temp);
ent_create (bullet_mdl, my.skill12, init_shot);
my.tilt = 0;
snd_play (shoot1_snd, 70, 0);
waitt (32); // the enemy shoots a bullet every 2 seconds
}
}

Last edited by MDMDFSS; 02/05/09 18:03.
Re: please help me with my bow/arrow enemi [Re: MDMDFSS] #250083
02/05/09 20:54
02/05/09 20:54
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
I'm so so so sorry. I can't help you.
But i can give you a small help.

Your code is old.
(waitt has replaced to wait. and time has replaced to time_step and so on...)

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

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