Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Haha, another cog...
Haha, another cog...
2001-11-27, 8:01 AM #1
Now I need a cog which will shoot a bolt of lightning from one ghost to another when a player respawns at the specified walkplayer... GBK, it's for you.

! [http://forums.massassi.net/html/biggrin.gif]!

------------------
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.
"Nac Mac Feegle weyhey!"
Battle cry of the Nac Mac Feegle.
2001-11-27, 9:01 AM #2
Not exactally what you specified, but the results are the same.

Code:
# 11/2001 GBK
Symbols
Message Newplayer
Sector Player_sector
Thing Ghost
Template Type
End
Code
Newplayer:
If(Getthingsector(Getlocalplayerthing()) == Player_sector) {
Creatething(Type, Ghost); }
Stop;
End


You dont actully specify a walkplayer - rather the sector it is in.


 


BTW, If you want ME to write a cog, email me...


[edit]It works, I tested it. [http://forums.massassi.net/html/biggrin.gif][/edit]

------------------
Success is the inverse relationship between effort, gain, and loss.

[This message has been edited by GBK (edited November 27, 2001).]
And when the moment is right, I'm gonna fly a kite.

↑ Up to the top!