Alef/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Erentar moved page alef's Sandbox to User:Alef/Sandbox: Bot: Moved page)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Try [[setVehicleInit]] in "killed" EH.
Try [[setVehicleInit]] in "killed" EH.<br>
[[addEventHandler]] "init" on [[createVehicle]] ?
[[addEventHandler]] "init" on [[createVehicle]]?<br>
EH runs a {Code}, that means, sync.
what if run sync {Code} in killed EH?
<pre>
scriptsPath = "scripts\";
startupScript = "";
cameraScript = "";
playerKilledScript = "onPlayerKilled.sqs";
playerRespawnScript = "onPlayerRespawn.sqs";
playerRespawnOtherUnitScript = "onPlayerRespawnOtherUnit.sqs";
playerRespawnSeagullScript = "onPlayerRespawnAsSeagull.sqs";
playerResurrectScript = "onPlayerResurrect.sqs";
teamSwitchScript = "onTeamSwitch.sqs";
 
 
class Missions { class Mission0 {
  template=Mission0.Sara;
  param1=1;
  param2=2;
  cadetMode=0;
};
</pre>
 
[[Category:Sandbox]]

Latest revision as of 04:47, 3 December 2018

Try setVehicleInit in "killed" EH.
addEventHandler "init" on createVehicle?
EH runs a {Code}, that means, sync. what if run sync {Code} in killed EH?

scriptsPath = "scripts\";
startupScript = "";
cameraScript = "";
playerKilledScript = "onPlayerKilled.sqs";
playerRespawnScript = "onPlayerRespawn.sqs";
playerRespawnOtherUnitScript = "onPlayerRespawnOtherUnit.sqs";
playerRespawnSeagullScript = "onPlayerRespawnAsSeagull.sqs";
playerResurrectScript = "onPlayerResurrect.sqs";
teamSwitchScript = "onTeamSwitch.sqs";


class Missions { class Mission0 {
  template=Mission0.Sara;
  param1=1;
  param2=2;
  cadetMode=0;
};