Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Nymphodora), 485 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
View Entity Emask #290425
09/18/09 22:21
09/18/09 22:21
Joined: Sep 2009
Posts: 12
Z
zero_karma Offline OP
Newbie
zero_karma  Offline OP
Newbie
Z

Joined: Sep 2009
Posts: 12
Is it possible to get a function to run when you click on a VIEW entity?

Re: View Entity Emask [Re: zero_karma] #290684
09/20/09 17:49
09/20/09 17:49
Joined: Oct 2005
Posts: 612
Inari Offline
User
Inari  Offline
User

Joined: Oct 2005
Posts: 612
sorry, no

Re: View Entity Emask [Re: Inari] #290691
09/20/09 18:49
09/20/09 18:49
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
I think it may be possible.
Here is an example from the manual.
Code:
// this function takes an entity pointer as argument.
function ent_init(ENTITY* ent)
{
   set(ent,BRIGHT);
   ent.ambient(100);
   ent_animate(ent,"walk",50,0);
}
...
ent_init(you);
...



Give us more info on what your trying to achieve and we may be able to help you more.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus

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