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
1 registered members (TipmyPip), 18,466 guests, and 6 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
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 | 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