Fire System
#1

Okay some objects have fire on them and i was thinking how would it go for let's say i have 5 random maps and each one of those was a house fire. And every 15-30 minutes those objects would be created and it would send a faction a message saying All Units Respond To A Structure Fire [A Check Point Has Been Added To Your Radar] Is can someone show me a rough draft of something like this
Reply
#2

I'm sure you need some timers.

But I dont know for sure. I can't script

Hope that helped
Reply
#3

Well, I made something like that with SmokeMaker object from club, add some timer I suggest random time.

Like on GameModeInit add timer

FireTimer = SetTimer("FireIsOn",random(300000)+200000,0);

public FireIsOn()
{
SendMessage
CreateObjects at house entrance
Set new timer for next fire
}
Reply
#4

Quote:
Originally Posted by ikey07
Посмотреть сообщение
Well, I made something like that with SmokeMaker object from club, add some timer I suggest random time.

Like on GameModeInit add timer

FireTimer = SetTimer("FireIsOn",random(300000)+200000,0);

public FireIsOn()
{
SendMessage
CreateObjects at house entrance
Set new timer for next fire
}
Yup that should be correct.
Reply
#5

Okay and then how would the object delete?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)