Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to make a block kill you? #134908
06/09/07 10:29
06/09/07 10:29
Joined: Jun 2007
Posts: 2
A
alex4491 Offline OP
Guest
alex4491  Offline OP
Guest
A

Joined: Jun 2007
Posts: 2
hey, im using game studio at college for my final piece of work but i need to make a block kill you when you toutch it is there anyway of doing this? thanks

Re: how to make a block kill you? [Re: alex4491] #134909
06/09/07 10:48
06/09/07 10:48
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
in block action write f.e.
my.event = block_event;
my.enable_entity = on;

then in block_event
if(event_type == event_entity) && (you == player) //if player touch the block
{
kill player... f.e.
define health and then player.health =0;
}

in player loop action
if(my.health <=0){end_panel.visible =on;} // you lost or something like this panel


Never say never.
Re: how to make a block kill you? [Re: tompo] #134910
06/09/07 11:17
06/09/07 11:17
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Before u can give the Block a Action, you must Build the Block and import this one as Map Entity in ure Level. Now you can give the Block an Action

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: how to make a block kill you? [Re: rvL_eXile] #134911
06/09/07 12:58
06/09/07 12:58
Joined: Jun 2007
Posts: 2
A
alex4491 Offline OP
Guest
alex4491  Offline OP
Guest
A

Joined: Jun 2007
Posts: 2
wow thanks a lot that was really quick:)


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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