Jump to content
Sign in to follow this  
juandayz

[1.6 THE ELI´s BOOK EVENT]

Recommended Posts

Juan
Would it be possible for the player to be visible on the map for everyone when he picks up the book?
Would like the script to recognize bots nearby and spaw away from other missions, because the priest was born on mission wai and the ones that killed him
How would the priest be born some 5000 m away from the book?

Share this post


Link to post
Share on other sites
10 minutes ago, WagnerMello said:

Juan
Would it be possible for the player to be visible on the map for everyone when he picks up the book?
Would like the script to recognize bots nearby and spaw away from other missions, because the priest was born on mission wai and the ones that killed him
How would the priest be born some 5000 m away from the book?

wagner think its more easy make the priest inmortal.

see:

_priest = _civilgroup createUnit [_priesttype,_mainpos2,[],0,"CAN_COLLIDE"];
_priest addEventHandler ["handleDamage", {false}];

i gonna add it  at main post

Share this post


Link to post
Share on other sites
45 minutes ago, WagnerMello said:

add that below?

_priest addEventHandler ["handleDamage", {false}];

this is very hard cuz you need recognize who is the player with a bible in inventory and make a follow marker... its possible. but will need a lot of test almost for me and my brain:biggrin:

Share this post


Link to post
Share on other sites

I could never get the priest to spawn. So what I did was take your pray for heal since it has priest around the map and removed the 2nd phase of the elisbookevent out and removed elisbook.sqf. I made a second finishquest from get mission form trader and works great now. LOL sometimes you just gotta work with what ya got xD

Share this post


Link to post
Share on other sites
Quote

EPOCH_EVENT_RUNNING = true; // Random chance of event happening
_spawnRoll = random 1;
if (_spawnRoll > _spawnChance) exitWith {};

if the mission fail to spawn, the variable EPOCH_EVENT_RUNNING will stay true while mission not running.
is it ok?

Share this post


Link to post
Share on other sites
On 18/8/2017 at 9:20 PM, Alone said:

The first event the box is created, but if there is another Eli Book event, the markings appear, but the box does not. What could be happening? thank you

this line:

EPOCH_EVENT_RUNNING = false;

was in a wrong place. fixed in main post.

Share this post


Link to post
Share on other sites
On 27/8/2017 at 4:00 PM, Breygorn said:

What would need to be added to actually clear or stop the event after xx minutes?

The Loot crate despawns yet the event stays active.

the crate despawn once a player take the bible from the crate and leave the area.. then the second part of the event start spawning the priest. this player needs give the bible to the priest.

Share this post


Link to post
Share on other sites
On ‎12‎/‎28‎/‎2016 at 2:00 AM, juandayz said:

Hey Hoh,

the first post are empty. This is in much Threads.

Anybody have an idea why this is so ? Only for me empty ? -.-

 

 

On ‎12‎/‎28‎/‎2016 at 2:00 AM, juandayz said:

 

 

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Supporters
  • Discord

×
×
  • Create New...