Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
2 registered members (ozgur, VoroneTZ), 662 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Link thefunctions in script to player,enemy,entity #68459
03/28/06 13:28
03/28/06 13:28
Joined: Mar 2006
Posts: 27
R
rogerant Offline OP
Newbie
rogerant  Offline OP
Newbie
R

Joined: Mar 2006
Posts: 27
Is it possible to write the event/action-function only one time and
link them to player,entity,enemy... ???

So I could change player with enemy and so on.

The scripts would be shorter ( and maybe faster).

-roger

Re: Link thefunctions in script to player,enemy,en [Re: rogerant] #68460
03/28/06 13:35
03/28/06 13:35
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
Yes, you can assign the same action to as many entities as you want. The 'me' pointer in the action will always refer to the entity that the action was assigned to.

Re: Link thefunctions in script to player,enemy,en [Re: Excessus] #68461
03/28/06 13:42
03/28/06 13:42

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Quote:

Yes, you can assign the same action to as many entities as you want. The 'me' pointer in the action will always refer to the entity that the action was assigned to.




... and every entity gets his own instance of the action/function.

mercuryus


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