Page MenuHomeFeedback Tracker

RegisteredToWorld3DEN EH does not trigger
New, WishlistPublic

Description

RegisteredToWorld3DEN Eventhandler does not trigger.

Tried this way as well (eventhandlers class):

init = "(_this select 0) addeventhandler ['RegisteredToWorld3DEN','call EUTW_3DEN_fnc_onHQregistered']";

Details

Legacy ID
102933109
Severity
None
Resolution
Open
Reproducibility
Always
Category
Eden Editor

Event Timeline

Gippo set Category to Eden Editor.Jan 19 2016, 6:30 PM
Gippo set Reproducibility to Always.
Gippo set Severity to None.
Gippo set Resolution to Open.
Gippo set Legacy ID to 102933109.May 8 2016, 1:31 PM
Unknown Object (User) added a subscriber: Unknown Object (User).Jul 13 2016, 12:22 PM
Gippo added a subscriber: Gippo.Aug 13 2016, 12:49 PM

1.62 - EH still does not work

Unknown Object (User) added a comment.Aug 13 2016, 1:16 PM

Can confirm that.

Gippo added a comment.Aug 13 2016, 1:21 PM

In the meantime... you can use Poor man's RegisteredToWorld3DEN EH:

init EH + and is3DEN check. However it triggers if you load a mission as well. I assume RegisteredToWorld3DEN wouldn't work that way. At least.. it should only trigger if the user places the entity.

1.64 RC - problem still exists

This is still an issue in game version 1.66.

Please check out the latest Dev as the issue was fixed there.

Gippo added a comment.Feb 15 2017, 9:09 PM

Please check out the latest Dev as the issue was fixed there.

15-02-2017
EXE rev. 140420

Still not working.

Example:

	class SideBLUFOR_F: Logic
	{
		displayName = "Faction 1 HQ";
		vehicleClass = "SystemEUTW";
		scope = 2;
		icon = "EUTW_3DEN\resources\hq1.paa";
		
		class EventHandlers
		{	
			RegisteredToWorld3DEN = "test = true";
			AttributesChanged3DEN = 	"call EUTW_3DEN_fnc_onHQAttributesChanged";
			UnregisteredFromWorld3DEN = "call EUTW_3DEN_fnc_onHQUnregistered";
		};
		
		class Attributes
		{
			DESCRIPTION("HQ");
		};
	};

test still stays nil. Also not working with "class man"

Let me know if I do anything wrong. All the other 3DEN eventhandlers are working and always worked well.

Rebel12340 added a comment.EditedJun 22 2017, 12:01 AM

This now (game version 1.7) works when object is re-added to the scenario after undoing a delete operation. Has no effect when object is initially placed or copied into the scenario.

Tested using the following:

class CIS_Armed_Civ: C_man_1 {
	displayName = "Armed Civilian";
	faction = "CIV_F";
	author = "Rodgers [CIS]";
	class EventHandlers {
		registeredToWorld3DEN = "(_this select 0) addWeapon 'arifle_MX_F';";
	};
};

Has no effect when object is initially placed or copied into the scenario.

That's because when object is placed, it is handled by its init