Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (7th_zorro), 793 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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