Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Entity created at vertex #457164
01/01/16 11:25
01/01/16 11:25
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
I have a dragon .mdl model, and I am trying to create a separate fireball entity breathe out its mouth toward the player. My first task is to try and make the fireball entity get created at the dragon's mouth vertice, and it can fly from there, giving the effect of a fireball breathing out of the dragon's mouth.

This is what I have so far to make the fireball come from the dragon toward the player:

Code:
ent_create("dragonFireBall.mdl",vector(my.x+9,my.y-260,my.z+370),spell_fly);



Is there a way to specify a vertice of the dragon's mouth in place of the:

Code:
vector(my.x+9,my.y-260,my.z+370)



...in the above command? Any help would be appreciated. Thank you.

Re: Entity created at vertex [Re: Ruben] #457165
01/01/16 11:55
01/01/16 11:55
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
vec_for_vertex


Compulsive compiler
Re: Entity created at vertex [Re: Wjbender] #457169
01/01/16 16:20
01/01/16 16:20
Joined: Jun 2010
Posts: 590
California
Ruben Offline OP
User
Ruben  Offline OP
User

Joined: Jun 2010
Posts: 590
California
Thank you Wjbender. It worked. :-)


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