Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
enemy leave key? #70780
04/13/06 11:07
04/13/06 11:07
Joined: Mar 2006
Posts: 321
Norway
Eagelina Offline OP
Senior Member
Eagelina  Offline OP
Senior Member

Joined: Mar 2006
Posts: 321
Norway
How do I make a enemy leave key when it is killed?
Kan someone direct me to a good tutorial or page about this?
thanks!


A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile
Re: enemy leave key? [Re: Eagelina] #70781
04/13/06 12:55
04/13/06 12:55
Joined: Mar 2006
Posts: 155
3MWe Offline
Member
3MWe  Offline
Member

Joined: Mar 2006
Posts: 155
simply add another script to the enemys action: for example:

action enemy{
robot_01; //the enemys main action
new_action; //the action to lose a key when the enemy is gore spitting and gonna die.
}
action robot_01{ [...] }
action new_action{
while(1){wait(1);
if(my._health<5) //my._health is the health-information of the enemy
{
create... //and so on
}}}


THAT S FUNNY: http://log.thedom.de/images/000508-1.jpg if you don't speak german: Hein = Name mit = with Kartoffeln = Potatos seinen Kumpels = his homies
Re: enemy leave key? [Re: 3MWe] #70782
04/15/06 14:55
04/15/06 14:55
Joined: Mar 2006
Posts: 321
Norway
Eagelina Offline OP
Senior Member
Eagelina  Offline OP
Senior Member

Joined: Mar 2006
Posts: 321
Norway
Thanks I am going to try this code


A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile

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