Jump to content

Home

playing efx G_TempEntity maybe?


Code

Recommended Posts

Greetings

 

Ive been looking onto the jk2 code

to play a certain effect file on a command (effects\env\those)

i also wish to set the entity origin the same has the player

(should not b too hard)

 

i didnt find the command i was dreaming of :p

i.e. G_playEfx (type, path, orgin)

ya i know i wish ...

 

i found this however G_TempEntity

could this do it ?

if so what are the events type ?

info (btw cool thing wudan! my boss might disagree lol)

 

but looking at that function

i see i can set the origin of it

but i dont get the 'event' :confused:

 

i guess its to point the type of entity (in that case fx_runner ?)

but how will it know witch file to use ? ->params?

 

am i in the right direction ?

does anyone already used this function ? (how much time the ent stays?)

or played a efx for a time period ?

 

any tip pointer are welcome

thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...