| View previous topic :: View next topic |
| Author |
Message |
=FF=im2good4u

Joined: 05 Feb 2003 Posts: 3922 Location: The Netherlands, HOLLAND
|
Posted: Sun Jan 08, 2006 12:25 pm Post subject: Lua IPC stuff |
|
|
can some1 tell me how to use this and wut the posabileties are _________________
  |
|
| Back to top |
|
 |
gotenks

Joined: 15 Nov 2002 Posts: 4039 Location: out of my mind
|
Posted: Sun Jan 08, 2006 3:34 pm Post subject: |
|
|
you can use it to send information between 2 mods... sorta a handshake, 1 has to have the ability to recieve, 1 has to have the ability to send...
mod 1 contains this call:
| Code: | function sendInfo(ThisInfo)
et.IPCSend( vmnumber, ThisInfo})
end |
mod 2 contains this function:
| Code: | function et_IPCReceive( vmnumber, message )
end |
message should beable to be anything, string, tables, etc.
you have to find away to get mod 2's vmnumber _________________ My Website
After a night of binge drinking:
| =FF=im2good4u wrote: | | WTF wanst i on top ? |
|
|
| Back to top |
|
 |
=FF=im2good4u

Joined: 05 Feb 2003 Posts: 3922 Location: The Netherlands, HOLLAND
|
Posted: Mon Jan 09, 2006 10:39 am Post subject: |
|
|
hm i assume the vmnumber is the position if the lua_modules vars (from left to right) so its kinda cool i gues _________________
  |
|
| Back to top |
|
 |
|