MOOSE - Mission Object Oriented Scripting Framework - Page 87 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 10-19-2017, 10:15 PM   #861
ked
Junior Member
 
Join Date: Feb 2017
Posts: 71
Reputation power: 1
ked is on a distinguished road
Default

Quote:
Originally Posted by FlightControl View Post
just note that this class is a prototype
a lot more stuff to be added, and upon a discussion you can steer the evolution of this class, if you understand what i mean.
Sure i'll see what i can do
ked is offline   Reply With Quote
Old 10-21-2017, 06:23 PM   #862
TracerFacer
Member
 
TracerFacer's Avatar
 
Join Date: Dec 2014
Location: Plano, TX
Posts: 102
Reputation power: 3
TracerFacer is on a distinguished road
Default

Quote:
Originally Posted by FlightControl View Post
When using DETECTION_AREAS, are U using the :BoundDetectedZones() method?
responded to your PM, but thought i would here to.

Yes, I was using that method. Soon as I commented that out - the mission stopped crashing!
TracerFacer is offline   Reply With Quote
Old 10-21-2017, 07:08 PM   #863
FlightControl
Senior Member
 
FlightControl's Avatar
 
Join Date: Mar 2012
Location: Antwerp, Belgium
Posts: 1,862
Reputation power: 15
FlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really niceFlightControl is just really nice
Default

Quote:
Originally Posted by TracerFacer View Post
responded to your PM, but thought i would here to.

Yes, I was using that method. Soon as I commented that out - the mission stopped crashing!
Ok! Great! You can use the borders in 1.5.7 missions because it does not crash there.
2.1.1 seems indeed to have issues with these borders...

Something for ED to look into, which they have confirmed they will.
Because if they won't fix it will come back in an other form sooner or later.

Sven
FlightControl is offline   Reply With Quote
Old 10-21-2017, 08:34 PM   #864
TracerFacer
Member
 
TracerFacer's Avatar
 
Join Date: Dec 2014
Location: Plano, TX
Posts: 102
Reputation power: 3
TracerFacer is on a distinguished road
Default

Quote:
Originally Posted by FlightControl View Post
Ok! Great! You can use the borders in 1.5.7 missions because it does not crash there.
2.1.1 seems indeed to have issues with these borders...

Something for ED to look into, which they have confirmed they will.
Because if they won't fix it will come back in an other form sooner or later.

Sven
Awesome! Thx for the help!
TracerFacer is offline   Reply With Quote
Old 10-22-2017, 03:16 PM   #865
RglsPhoto
ED Translator
 
RglsPhoto's Avatar
 
Join Date: Jun 2011
Posts: 218
Reputation power: 7
RglsPhoto will become famous soon enoughRglsPhoto will become famous soon enough
Default

Hi FlightControl

Does Event work in multiplay?

I have a problem about the Event and STATIC object

Code:
function targetStatic:OnEventHit( EventData )
    if nil ~= EventData.IniGroupName then
        iniName = EventData.IniGroupName
    else
        iniName = "unknow"
    end
    
    if nil ~= EventData.TgtUnitName then
        tgtName = EventData.TgtUnitName
    else
        tgtName = "anyone"
    end
    
    if nil ~= EventData.WeaponName then
        wpnName = EventData.WeaponName
    else
        wpnName = "X-weapon"
    end
    
    MESSAGE:New(iniName.." use "..wpnName.." hit "..tgtName, 15):ToAll()
end
In the mission a client Su-27 group is named "Su-27 1", static object is "target 1 "
I fly the mission in Mession Editor with Su-27, when I fire gun and hit the target, the message shows "Su-27 1 use Ghs-301 hit target 1".
That is OK,

Then I create a server and select the same Su-27 and fire on the target. The same message is showed, that OK.


But if another player connect to my server, and go to this Su-27, when the target is hit,
the message shows "unknow use Ghs-301 hit target 1"


It seems that in this scenario iniName is nil
__________________
i7-4700MQ,GTX-770M 3G GDDR5,16G GDDR3,128G SSD,TM Hotas Warthog,Saitek Pro Flight Rudder Pedals,TrackIr 5
RglsPhoto is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:14 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.