Jump to content
Sign in to follow this  
nazer1290

How do you create a module?

Recommended Posts

There modules make sense. As long as you keep your API and class names the same.

Share this post


Link to post
Share on other sites
Myke;1674521']

@SNKMAN

Could you please explain why on the initEventHandler you used absolute pathname? This limits foldernaming down to exactly whats it says there. Personally' date=' i dislike such "hardcoding" since it really isn,t necessary. But you might have your reason so i would like to hear and learn.

[/quote']

Sorry Myke had totally missed this... :o

Well that's just the way i use to make things work and keep them usable even if in-game.

After the AddOn folder was .pboed you can't change anything.

By using this way i'm still able to edit everything without closing ArmA / unpbo-ing editing / re-pbo-ing / restart ArmA and so on...

Of course after it's done i always change the path to the AddOn path from:

"\@MyAddOn\AddOns\Module\" to "\Module\".

If your way works too and keep the AddOn usable while in-game then that's pretty nice. ;)

May i should try it then.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×