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
3 registered members (TipmyPip, AndrewAMD, dBc), 18,430 guests, and 6 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
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 | 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