Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, ozgur, AbrahamR, wdlmaster), 849 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Difficulty in dealing with and replacing objects #414907
01/10/13 09:05
01/10/13 09:05
Joined: Nov 2012
Posts: 49
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

Joined: Nov 2012
Posts: 49
Hello.
Today I found out a few problems with my game. I tried to make it how the enemy will die with the impact of a bullet. However, the problem is that the target will die with any sort of impact to it. Whether it be the player running into it or a fellow enemy touching it.

Secondly, in the map editor I created 5 enemies, with one action, the problem is that if one enemy dies the rest die too.

Finally, how can I change the entity? For example, when my player goes next to a car and when i hit the enter button, I want the entity of the player to become the entity of the car.

Re: Difficulty in dealing with and replacing objects [Re: amirmehrvarz] #414909
01/10/13 09:19
01/10/13 09:19
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline
Senior Member
3dgs_snake  Offline
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,

  • 1-2 You can differentiante your entities using skills (type and/or Id)
  • 3 Perhaps you don't need to switch the entities. You create two entities, you then use a simple state machine to:
    • switch visibility based on if you are in a car or not (I think that the car is already there even if there is no player inside laugh ).
    • switch control scheme based on the entity you are controlling (car or player)

Re: Difficulty in dealing with and replacing objects [Re: 3dgs_snake] #414934
01/10/13 18:03
01/10/13 18:03
Joined: Nov 2012
Posts: 49
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

Joined: Nov 2012
Posts: 49
what skills ??
I tried to understand what it is, but I could not
Can you tell me exactly what it is and how it can be used
thank tou

Re: Difficulty in dealing with and replacing objects [Re: amirmehrvarz] #414936
01/10/13 18:12
01/10/13 18:12
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You can read here about skills:

http://www.conitec.net/beta/aentity-skill.htm


Always learn from history, to be sure you make the same mistakes again...
Re: Difficulty in dealing with and replacing objects [Re: Uhrwerk] #414963
01/11/13 17:15
01/11/13 17:15
Joined: Nov 2012
Posts: 49
A
amirmehrvarz Offline OP
Newbie
amirmehrvarz  Offline OP
Newbie
A

Joined: Nov 2012
Posts: 49
thank you


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