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
2 registered members (TipmyPip, AndrewAMD), 14,136 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
Trigger an event after destroying an AI #203706
04/23/08 15:17
04/23/08 15:17
Joined: Feb 2008
Posts: 22
J
jsaechao Offline OP
Newbie
jsaechao  Offline OP
Newbie
J

Joined: Feb 2008
Posts: 22
I am using the A6 template. Is there a way to trigger an event after destroying an AI? For example, trigger a door, drop a weapon, or play a cutscene etc.

Re: Trigger an event after destroying an AI [Re: jsaechao] #211334
06/16/08 09:41
06/16/08 09:41
Joined: May 2007
Posts: 185
Netherlands
SurudoiRyu Offline
Member
SurudoiRyu  Offline
Member

Joined: May 2007
Posts: 185
Netherlands
If you know basic scripting you can do it i think,

it is like

Define skill55;

then check if the players health is beneath 0 and his skill

if (me.healthpoints < 0 && skill55 == 1)
{
Open the special door/ drop key or what you like to happen
}

Don't know if it can be done easier with templates cause i dont work with them smile

Goodluck wink

Greetzzz,


-The Dragon's Eye is alway's watching you!-

Moderated by  HeelX, rvL_eXile 

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