Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/06/26 07:18
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 5,463 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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