Register Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Dart_Tech

Registered:
Posts: 30
Reply with quote  #1 
So I want to make Artemis or a NPC immune to mines.

Current property documentation (http://artemiswiki.pbworks.com/w/page/117991854/Object%20Properties) lists the property "triggersMines" which would make sense of what I want to use.

Ether line of code however does not work:
Code:
<set_object_property property="triggersMines" value="0" use_gm_selection=" " />
<set_object_property property="triggersMines" value="1" use_gm_selection=" " />


How might one enable that property?

I want to mention that im having problems with the "canBuild" on station in hope to stop production, but the stations just keep making weapons! Any ideas on how to use this property?
ryleyra

Registered:
Posts: 2,459
Reply with quote  #2 
I'm pretty sure the triggersMines property only applies to generic meshes. It would be nice if it could be used with other objects, but I don't think it does.

Consult the scripting documentation included with the game, or my correction to it found here: https://artemis.forumchitchat.com/post/mission-script-reference-2-4-8087014?&trail=15 Note that since the link is for Artemis 2.4 you may have to sort of combine the two.

I will see what I can do about making that page of the wiki make reference to what commands and/or objects those properties apply to.
ryleyra

Registered:
Posts: 2,459
Reply with quote  #3 
No, it turns out the documentation says the property is for shieldedShips. I still think the documentation may be wrong, but it is more likely that the property is simply not working.
Mike Substelny

Avatar / Picture

Administrator
Registered:
Posts: 1,716
Reply with quote  #4 
I haven't been very successful at using the GM selection to select a generic object. I've only been able to do things to generics by having their names in the code.
__________________
"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight."
- Winston Churchill
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.