武装突袭3

武装突袭3

Diwako's STALKER-like anomalies
demjand 2022 年 11 月 19 日 下午 2:44
Removing anomaly modules
Hello, I created two teleport anomalies with a script :

[[4399.871, 4420.265, 0], 2] call anomaly_fnc_createTeleport;

uiSleep 1;

[[4443.987, 4366.092, 0], 2] call anomaly_fnc_createTeleport;

but I don't know how to remove them from the map (( Please help me a lot. What command should I write? What to do? I ask for help.
< >
正在显示第 1 - 3 条,共 3 条留言
honger 2022 年 11 月 26 日 下午 3:44 
pretty late but in case you haven't figured it out - give your call a variable name, so
---

myAnomaly_1 = [[4399.871, 4420.265, 0], 2] call anomaly_fnc_createTeleport;

uiSleep 1;

myAnomaly_2 = [[4443.987, 4366.092, 0], 2] call anomaly_fnc_createTeleport;

---
and when you want to delete it, just do:

edit: use diwako's function
最后由 honger 编辑于; 2022 年 11 月 27 日 上午 10:32
diwako  [开发者] 2022 年 11 月 27 日 上午 9:40 
Rather do this and get rid of the effects as well

[[myAnomaly_1, myAnomaly_2]] call anomaly_fnc_deleteAnomalies
demjand 2022 年 12 月 13 日 上午 11:40 
Thank you very much for your help. How did I not think of creating global variables myself and putting anomaly creation functions in them... And also delete them by passing these parameters to the delete function)) As they say - live forever, learn forever!
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50