shibdib
-
Content Count
34 -
Joined
-
Last visited
-
Medals
Posts posted by shibdib
-
-
[/color]Got it to work!
Created a trigger that has the condition
!isDedicated and !isMultiplayer
and the on act.
deleteVehicle p2; hint "Singleplayer Mode Activated";
and then set everything you don't want in single player to have condition
!alive p2 and time > 10
-
Use deleteVehicle.How so?
I'm guessing put this in init
if (!isPlayer p2) then {null = [] execvm "scripts\singleplayer_init.sqf"}and then have singleplayer_init.sqf contain stuff like
deleteVehicle s21;deleteVehicle s22;
etc...
Or am I completely off?
---------- Post added at 20:58 ---------- Previous post was at 20:41 ----------
Well that didn't work so guess I was wrong :P
-
isPlayer is the correct command.Might be that it's running too early, try
isPlayer p2 AND time > 0
Nope still the same issue
Tried that and editting time from 0 to 5... units still won't spawn if I control p2
-
Any way to use condition of presence to check if a player is a player and not AI and as such not spawn certain units?
Trying to make a Co-op 2 mission SP compatible and this would help.
---------- Post added at 20:03 ---------- Previous post was at 19:46 ----------
Tried using
isPlayer p2;On player 2's squad. And it doesn't show up!... but also doesn't show up when I spawn as player 2
-
Might have to grab the mods and give this a try!
-
http://imageshack.us/a/img6/5964/p701.png (886 kB)
!!This is currently a work in progress!!
With CSAT forces occupying the Aegean island of Altis, a US lead NATO coalition lands on the Southeast shore to liberate the oppressed people.
Includes
NEW- Revive Script - If you suffer a serious wound that isn't bad enough to kill you, your AI companions or another player can drag you to safety and revive you. AI will also do this to eachother.
- Respawn at FOB. (You will respawn an unlimited amount, your AI gets 3 respawns) Still being bugtested.
- Virtual Ammo Box
- Custom Bases
- Capturable Zones
- Enhanced suppression script. (AI Can now be suppressed! But so can the player!)
- Dynamic storyline
NEW- Mission scales in single player mode when not run as a multiplayer game (Dedicated server compatible)
Current downloads
Mission 1
Armaholic - http://www.armaholic.com/page.php?id=23227
Steam - http://steamcommunity.com/sharedfiles/filedetails/?id=188468096
Mission 2
Armaholic - http://www.armaholic.com/page.php?id=23228
Steam - http://steamcommunity.com/sharedfiles/filedetails/?id=188490240
Campaign
Not yet released
Why doesn't this script work?
in ARMA 3 - MISSION EDITING & SCRIPTING
Posted · Edited by shibdib
The following is my init with the script in question bolded.
That script is
But at some point it doesn't work. No errors show up in the log for it