Jump to content


  • Content Count

  • Joined

  • Last visited

  • Medals

Community Reputation

25 Excellent

1 Follower

About devildog664

  • Rank

Recent Profile Visitors

1063 profile views
  1. So I’m trying to run a code whenever I click on the map. I have been trying to use onclick but not having any luck. I am able to click my custom icons on the map but that’s it. Currently I click on a custom icon which then brings up a small GUI. I then want to be able to click off the GUI any where on the map and have it close. I have been trying many things like SCR_MapEntity mapEntity = SCR_MapEntity.GetMapInstance(); Widget mapWidget = mapEntity.GetMapConfig().RootWidgetRef; m_ModalHandler = new SCR_RTS2(); mapWidget.AddHandler(m_ModalHandler); m_ModalHandler.m_OnClick.Insert(TEST664); I also tried OnModalClickOut but no luck. If anyone can just point me in the right direction that would be great.
  2. I need help getting a triggers Box Mins and Box Maxs values in my script. I am able to get the sphere size with this SCR_BaseTriggerEntity trigger = SCR_BaseTriggerEntity.Cast(GetGame().GetWorld().FindEntityByName(TriggerName)); if (trigger) { Marker_Radius = trigger.GetSphereRadius(); }; But I cant figure out how to get the box values along with any other data from the trigger. I cannot find any other functions like GetSphereRadius but for the box values. If anyone can point me in the right direction that would be great.
  3. devildog664

    [WIP, COOP] Escape From Chertarkov

    Love this but would really like to see some dedicated server or something.
  4. devildog664

    Project injury reaction

    Awesome thank you great mod by the way.
  5. devildog664

    Project injury reaction

    Question what are the variables for this mod? Need to check if a unit is unconscious and in other non combat states.
  6. Thanks you the agent does work. Weird how that fixes the name issue would have honestly never of thought that. Again thanks everyone for quickly solving this issue for me.
  7. @wogz187, @pierremgi Updated my first post to better explain
  8. @pierremgiWithin my scripts civilian life is spawned/de-spawned along with players' distances. But when the mission starts i spawn AI in every town to get their information like their name and then delete them. Then when the player gets within range of the town the AI will spawn in based on the data gather at the beginning of the mission. This is also the same data the scanner uses. I will try making large groups but still think its something to do with the names generated for AI when they spawn in.
  9. We are not naming the civilians i need to get the random names ai spawn with to make persistent AI. So example a civilian named Jon doe is logged at this town so when ever i come back to that town i get the ai data and names of ai who live there then spawn a civilian named Jon doe. Each town depending on its size has about 10-25 civilians that live there. The overall goal of this is because im making a bio metric scanner. Within the scanner you are able to look up names of civilians and get information on them. This all works and is really cool but unfortunately after 288 names it craps out. I hope that makes sense i feel like im bad at explaining these things. @wogz187
  10. Ill explain this as short as i can. So i have a script that spawns AI civilians at each town (One town at a time) get their name (using name _Unit) and other information and then logs it into a data array and then finally removes the units. This repeats for every valid location and needs to be done at the start of the mission to mostly get the name of the civilian but also other info as well. The problem is after 288 spawns the ai seem to run out of names so their names become "Error: No Vehicle" even though they do successfully spawn. My question is there a way to clear all names so they can just start to reuse them or something along the lines of that? Better explanation. Process of events. 1. Mission starts 2. A town location is selected 3. A number of AI will spawn 4. Data from that AI just spawned will get gathered and logged 5. AI is deleted 6. Repeat steps 2-5 until all towns are done 7. Player get close to town and AI Spawn in based on logged data in step 4 Everything works perfect if the ai number is below 288. Once ai spawns hit 288 using the name command will return "Error: No Vehicle". How does one get around this.
  11. devildog664

    Two complex GUI questions.

    Wow that was easy I was trying to add a scroll bar to a control group haha. Very interesting I would of thought there was more to it then just many pictures. Appreciate both answers for question 2. The more options the better so I’ll play around with these and see which one works best for my application.
  12. Hello so I got two question about GUIs so if someone can point me in the right direction or some useful threads it would be much appreciated. Was searching but did not find anything useful. 1. is there a way I can make a scroll panel. What I mean by this is a panel that buttons and text is attached to but you can also scroll up or down with. Example here 2. How would one make an animated GUI or moving parts to a GUI. Like ACRE does with their radio knobs that turn. If anyone has examples of good threads that discuss this that would be amazing. Thanks in advance.
  13. I can add actions for myself but trying to add an action under the Interactions action of another unit. If that makes sense. No luck. Edit. Never mind got it your right its just ["ACE_MainActions"] nothing before or after. Btw that link was very helpful. Thanks guys. Got another quick question. Is there a way I can detect if an action is selected. Example: im need to set a certain variable for a unit when the player use the "Takes Prisoner" action.
  14. Can anyone help me find the Parent path names so i can add ace actions. Im trying to add an action to a civilian under their interaction but having trouble. I just need the class names for the parent paths as i guessed the ACE_Interaction but I guess that is not it. _New_Talk_Action = ["Civilian_Talk","Talk","",{[_Unit,"Talk"] call Civilian_Interaction;},{true},{},{},{},5] call ace_interact_menu_fnc_createAction; [_Unit,0,["ACE_MainActions","ACE_Interactions"],_New_Talk_Action] call ace_interact_menu_fnc_addActionToObject;
  15. Got a question about something. Made a thread here http://alivemod.com/forum/4783-alive-profile-handler-un-registering-vehicle-profiles-after-pla