FOnline Development > General Discussion

[How To] Triggers: Trigger dialogue, attack, doors, radiation...

<< < (2/2)

muhoooool:
Door open:

--- Code: ---import void door_open( Critter& player, Scenery& trigger, bool entered, uint8 dir, int entireNum ) from "trigger";
door_open( player, trigger, entered, dir, param );
--- End code ---
Add entire Fast ( entry point) under the door you want to open with trigger.
change in mapper:
on entire:
entirenumber:100*
on trigger:
ParamsCount: 1
Parameter0: 100*
Script: your_script
func: t_Teleport

*Numbers need to match

Navigation

[0] Message Index

[*] Previous page

Go to full version